/*
                                ===== GLOBAL DESIGN VARIABLES =====
                                หน้าที่: เก็บค่าสีหลักและความกว้างสูงสุดที่หลายส่วนของเว็บไซต์นำไปใช้ร่วมกัน
                                ค้นหาส่วนนี้เมื่อ: ต้องการดูว่าค่าสีชื่อ --navy, --ivory, --gold ฯลฯ มาจากที่ใด
                                */
:root {
  --navy: #0B3150;
  --ivory: #F8F4EC;
  --gold: #B68A45;
  --white: #fff;
  --ink: #15344e;
  --muted: #657582;
  --line: rgba(11, 49, 80, .14);
  --max: 1380px;
}

/*
                                ===== BASIC PAGE RULES =====
                                หน้าที่: กำหนดกติกาพื้นฐานของกล่อง HTML การเลื่อนหน้า พื้นหลัง ฟอนต์ ลิงก์ และปุ่ม
                                มีผล: ทั่วทั้งหน้าเว็บไซต์
                                */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.serif {
  font-family: 'DM Serif Display', Georgia, serif;
}

/*
                                ===== SHARED LAYOUT HELPERS =====
                                หน้าที่: กำหนดความกว้างพื้นที่เนื้อหาหลัก และรูปแบบข้อความ/เส้น/ปุ่มที่ใช้ซ้ำหลาย Section
                                ค้นหาส่วนนี้เมื่อ: ต้องการดู .wrap, .eyebrow, .rule หรือปุ่มมาตรฐานของเว็บไซต์
                                */
.wrap {
  width: min(var(--max), calc(100% - 64px));
  margin: auto;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.rule {
  width: 48px;
  height: 2px;
  background: var(--navy);
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: .2s ease;
  border: 1px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: white;
}

.btn-gold:hover {
  transform: translateY(-1px);
  background: #a57b3a;
}

.btn-outline {
  border-color: rgba(11, 49, 80, .34);
  background: rgba(255, 255, 255, .65);
  color: var(--navy);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

:focus-visible {
  outline: 3px solid rgba(182, 138, 69, .5);
  outline-offset: 3px;
}

/*
                                ===== HEADER + NAVIGATION =====
                                หน้าที่: ควบคุมแถบด้านบน โลโก้ เมนู Desktop ภาษา Search ปุ่ม Collaborate และปุ่มเมนูมือถือ
                                ตำแหน่ง: ด้านบนสุดของหน้าเว็บ
                                */
.site-header {
  height: 82px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 24px;
  line-height: 1;
  color: var(--navy);
}

.brand-sub {
  font-size: 8px;
  margin-top: 4px;
  color: var(--navy);
  letter-spacing: .02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 11px;
  color: var(--navy);
  white-space: nowrap;
}

.desktop-nav a {
  padding: 31px 0 27px;
  border-bottom: 2px solid transparent;
}

/* เมาส์ชี้เมนู: เปลี่ยนเฉพาะสีตัวอักษร */
.desktop-nav a:hover {
  color: var(--gold);
}

/* เมนูหน้าปัจจุบัน: แสดงเส้นทองหนึ่งเส้น */
.desktop-nav a.active {
  border-bottom-color: var(--gold);
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  white-space: nowrap;
}

.lang {
  letter-spacing: .08em;
}

.search {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  color: var(--navy);
  padding: 10px;
}

.mobile-nav {
  display: none;
}

/*
                                ===== HERO =====
                                หน้าที่: ควบคุมส่วนเปิดหน้าเว็บที่มีข้อความหลัก ปุ่ม ภาพประกอบ Quote และข้อความ REAL PEOPLE
                                ตำแหน่ง: ใต้ Header
                                */
.hero {
  background:
    radial-gradient(circle at 76% 38%,
      rgba(255, 255, 255, .72) 0%,
      rgba(255, 255, 255, .32) 22%,
      rgba(255, 255, 255, 0) 46%),
    linear-gradient(90deg,
      #fffdf9 0%,
      #fffaf5 38%,
      #f8f1e7 68%,
      #f3eadc 100%);

  /* 
    HERO เต็มพื้นที่หน้าจอ
    100svh = ความสูงของหน้าจอ
    82px = ความสูงของ Header
    ทำให้ Hero จบพอดีที่ขอบล่างของหน้าจอ
    และ About จะยังไม่ปรากฏตอนเปิดเว็บครั้งแรก
    */
  min-height: calc(100svh - 82px);

  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 48% 52%;

  /* ให้พื้นที่ภายใน Hero สูงเท่ากับ Hero */
  min-height: calc(100svh - 82px);
}

.hero-copy {
  padding: 0 40px 0 0;
  position: relative;
  z-index: 3;

  /* เปลี่ยนจากการดันด้วย padding-top
       เป็นการจัดเนื้อหาทั้งชุดให้อยู่กึ่งกลางแนวตั้ง */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero .eyebrow {
  color: var(--navy);
  font-size: 11px;
}

.hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: 68px;
  line-height: .98;
  letter-spacing: -.025em;
  margin: 20px 0 18px;
  color: var(--navy);
}

.hero-lead {
  font-size: 17px;
  line-height: 1.55;
  max-width: 610px;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-micro {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: #4e6678;
  margin-top: 45px;
}

.hero-art {
  position: relative;

  /* ให้พื้นที่ภาพสูงเต็ม Hero เช่นเดียวกับฝั่งข้อความ */
  min-height: calc(100svh - 82px);

  isolation: isolate;
}

.hero-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: -2;
}

.landscape {
  position: absolute;
  left: -8%;
  right: -5%;
  bottom: 0;
  height: 50%;
  opacity: .45;
}

.maternal-svg {
  position: absolute;
  right: -3%;
  /* จัดภาพให้สมดุลในพื้นที่ด้านขวา */
  bottom: -100;
  width: 100%;
  height: 120%;
  filter: drop-shadow(-16px 20px 30px rgba(11, 49, 80, .12));
}

.quote {
  position: absolute;
  left: 5%;
  top: 9%;
  width: 210px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.25;
  color: var(--navy);
  z-index: 3;
}

.quote small {
  display: block;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-size: 9px;
  letter-spacing: .12em;
  margin-top: 16px;
}

.truth-card {
  position: absolute;
  right: 0;
  bottom: 70px;
  background: rgba(255, 255, 255, .9);
  padding: 18px 22px;
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: .08em;
  color: var(--navy);
  z-index: 4;
  border-left: 2px solid var(--gold);
}

/*
                                ===== CAPABILITY PILLARS =====
                                หน้าที่: จัดรูปแบบ 4 หัวข้อความสามารถหลัก พร้อมไอคอน หัวข้อ และคำอธิบาย
                                ตำแหน่ง: ใต้ Hero
                                */
.capabilities {
  background: #fff;
  padding: 28px 0;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.cap {
  padding: 8px 30px 10px;
  border-right: 1px solid var(--line);
}

.cap:last-child {
  border-right: 0;
}

.icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  margin-bottom: 9px;
}

.cap h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 7px;
  color: var(--navy);
}

.cap p {
  font-size: 12px;
  line-height: 1.55;
  color: #526777;
  margin: 0;
}

/*
                                ===== SHARED SECTION STYLES =====
                                หน้าที่: รูปแบบพื้นฐานที่ Section หลายส่วนใช้ร่วมกัน เช่น ระยะห่าง พื้นหลัง และโครงสองคอลัมน์
                                ค้นหาส่วนนี้เมื่อ: ต้องการเข้าใจ .section, .section-white, .section-ivory, .section-grid และหัวข้อ Section
                                */
.section {
  padding: 58px 0;
  border-top: 1px solid rgba(11, 49, 80, .06);
}

.section-white {
  background: #fff;
}

.section-ivory {
  background: var(--ivory);
}

.section-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
}

.section-title h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 36px;
  line-height: 1.03;
  font-weight: 400;
  margin: 8px 0 14px;
  color: var(--navy);
}

.section-title p {
  font-size: 13px;
  line-height: 1.6;
  color: #516777;
}

.text-link {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  margin-top: 12px;
  border-bottom: 1px solid rgba(182, 138, 69, .5);
  padding-bottom: 3px;
}

/*
                                ===== FLAGSHIP PROGRAM CARDS =====
                                หน้าที่: ควบคุมการจัดวางการ์ดโปรแกรม ภาพประกอบ ข้อความ สถิติย่อย และปุ่มภายในโปรแกรม
                                ตำแหน่ง: Section Flagship Programs
                                */
.programs {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 16px;
}

.program-card {
  background: #fff;
  border: 1px solid rgba(11, 49, 80, .09);
  min-height: 330px;
  display: grid;
  grid-template-columns: 42% 58%;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(11, 49, 80, .04);
}

.program-card.gdm {
  grid-template-columns: 44% 56%;
}

.program-visual {
  background: linear-gradient(145deg, #d8e6e7, #f4e3cf);
  position: relative;
  overflow: hidden;
}

.program-visual svg {
  width: 100%;
  height: 100%;
}

.program-body {
  padding: 25px 25px 18px;
}

.program-body h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 24px;
  line-height: 1.08;
  margin: 0;
  color: var(--navy);
}

.program-kicker {
  font-size: 11px;
  color: var(--gold);
  margin: 7px 0 14px;
  font-weight: 600;
}

.program-body p {
  font-size: 12px;
  line-height: 1.55;
  color: #516777;
}

.stats-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.mini {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.mini b {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  color: var(--navy);
  font-weight: 400;
}

.mini span {
  display: block;
  font-size: 8px;
  line-height: 1.35;
  color: #617482;
  margin-top: 3px;
}

.small-btn {
  display: inline-flex;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-size: 10px;
}

/*
                                ===== JOURNEY TIMELINE =====
                                หน้าที่: จัด Timeline ของเส้นทาง/เหตุการณ์ตามช่วงเวลา รวมเส้น จุด ปี หัวข้อ และคำอธิบาย
                                ตำแหน่ง: Section Our Journey
                                */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  padding-top: 18px;
}

.timeline:before {
  content: "";
  position: absolute;
  top: 24px;
  left: 1%;
  right: 2%;
  height: 1px;
  background: var(--gold);
}

.time {
  padding: 24px 20px 0 0;
  position: relative;
}

.time:before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--navy);
  border: 3px solid var(--ivory);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gold);
}

.time b {
  font-size: 11px;
  color: var(--navy);
}

.time h4 {
  font-size: 12px;
  line-height: 1.35;
  margin: 5px 0;
  color: var(--navy);
}

.time p {
  font-size: 10px;
  line-height: 1.45;
  color: #637684;
  margin: 0;
}



/* ============================================================
   RESEARCH — OPTION A: EDITORIAL RESEARCH ARCHIVE
   Scope: RESEARCH SECTION ONLY
   ============================================================ */
.research-archive {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.research-archive .research-intro {
  padding: 82px 0 68px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: end;
}

.research-archive .research-intro h2 {
  margin: 8px 0 0;
  max-width: 760px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(48px, 5vw, 70px);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.025em;
  color: var(--navy);
}

.research-archive .research-intro p {
  max-width: 620px;
  margin: 0 0 5px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.research-chapter {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 62px 0;
  border-top: 1px solid var(--line);
}

.research-chapter-marker {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.research-chapter-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 42px;
  line-height: .9;
  color: var(--gold);
}

.research-chapter-label {
  padding-top: 3px;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
}

.research-chapter-label span {
  display: block;
  margin-top: 5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.research-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.research-focus-item {
  min-height: 112px;
  padding: 24px 26px 22px 0;
  border-bottom: 1px solid var(--line);
}

.research-focus-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.research-focus-item:nth-child(even) {
  padding-left: 26px;
}

.research-focus-item h3 {
  margin: 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 400;
  color: var(--navy);
}

.research-project-feature {
  position: relative;
  padding: 8px 0 4px 34px;
  border-left: 2px solid var(--gold);
}

.research-project-feature .project-meta {
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

.research-project-feature h3 {
  max-width: 880px;
  margin: 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.08;
  font-weight: 400;
  color: var(--navy);
}

.research-project-feature p {
  margin: 20px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.publication-archive {
  border-top: 1px solid var(--line);
}

.publication-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 150px;
  gap: 26px;
  align-items: start;
  padding: 27px 0 29px;
  border-bottom: 1px solid var(--line);
}

.publication-year {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 30px;
  line-height: 1;
  color: var(--gold);
}

.publication-info h3 {
  margin: 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  line-height: 1.22;
  font-weight: 400;
  color: var(--navy);
}

.publication-info p {
  margin: 9px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.publication-action {
  padding-top: 2px;
  text-align: right;
}

.publication-action .text-link {
  margin-top: 0;
}

.publication-pending {
  display: inline-block;
  font-size: 10px;
  line-height: 1.45;
  color: var(--muted);
}

.research-impact {
  margin: 0 calc((100vw - min(var(--max), calc(100% - 64px))) / -2);
  padding: 62px max(32px, calc((100vw - var(--max)) / 2));
  background: var(--navy);
  color: white;
}

.research-impact-inner {
  width: min(var(--max), calc(100% - 64px));
  margin: auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
}

.research-impact .research-chapter-number,
.research-impact .research-chapter-label {
  color: #d9b878;
}

.research-impact .research-chapter-label span {
  color: rgba(255, 255, 255, .66);
}

.research-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.research-impact-item {
  padding: 25px 22px 5px;
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.research-impact-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.research-impact-item strong {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 44px;
  line-height: 1;
  font-weight: 400;
  color: white;
}

.research-impact-item span {
  display: block;
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .72);
}

@media(max-width:900px) {

  .research-archive .research-intro,
  .research-chapter,
  .research-impact-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .research-archive .research-intro {
    padding: 68px 0 55px;
  }

  .research-chapter {
    padding: 50px 0;
  }

  .publication-row {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .publication-action {
    grid-column: 2;
    text-align: left;
  }

  .research-impact {
    margin: 0 -18px;
    padding: 52px 18px;
  }

  .research-impact-inner {
    width: 100%;
  }

  .research-impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .research-impact-item:nth-child(3) {
    border-left: 0;
  }

  .research-impact-item {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    padding-bottom: 22px;
  }
}

@media(max-width:560px) {
  .research-archive .research-intro {
    padding: 54px 0 44px;
  }

  .research-archive .research-intro h2 {
    font-size: 43px;
  }

  .research-chapter {
    padding: 42px 0;
    gap: 24px;
  }

  .research-chapter-number {
    font-size: 36px;
  }

  .research-focus-grid {
    grid-template-columns: 1fr;
  }

  .research-focus-item,
  .research-focus-item:nth-child(even) {
    padding: 20px 0;
    border-right: 0;
  }

  .research-project-feature {
    padding-left: 22px;
  }

  .research-project-feature h3 {
    font-size: 30px;
  }

  .publication-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 0;
  }

  .publication-year {
    font-size: 25px;
  }

  .publication-info h3 {
    font-size: 20px;
  }

  .publication-action {
    grid-column: auto;
  }

  .research-impact {
    margin: 0 -14px;
    padding: 44px 14px;
  }

  .research-impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .research-impact-item {
    padding: 20px 14px;
  }

  .research-impact-item:nth-child(odd) {
    padding-left: 0;
  }

  .research-impact-item strong {
    font-size: 36px;
  }
}


/* Research symbolic SVG illustrations — scoped to Research only */
.research-symbol {
  color: var(--gold);
}

.research-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.research-symbol .navy {
  stroke: var(--navy);
}

.research-symbol .gold {
  stroke: var(--gold);
}

.research-symbol .soft {
  stroke: rgba(182, 138, 69, .34);
}

.research-symbol .fill-soft {
  fill: rgba(182, 138, 69, .08);
}

.research-focus-symbol {
  width: 42px;
  height: 42px;
  margin: 0 0 17px;
}

.research-focus-item {
  position: relative;
}

.research-project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 48px;
  align-items: center;
}

.research-project-copy {
  min-width: 0;
}

.research-network-symbol {
  width: 100%;
  height: 220px;
  opacity: .96;
}

.research-publication-symbol {
  width: 150px;
  height: 112px;
  margin: 0 0 26px auto;
}

.publication-archive-head {
  display: flex;
  justify-content: flex-end;
}

/* Publications 03 — balanced desktop/mobile layout */
#publications .publication-archive-content {
  min-width: 0;
}

#publications .publication-archive-head {
  min-height: 96px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

#publications .research-publication-symbol {
  width: 132px;
  height: 99px;
  margin: 0 4px 20px 0;
}

#publications .publication-row {
  grid-template-columns: 82px minmax(0, 1fr) 142px;
  gap: 22px;
  align-items: center;
  padding: 25px 0;
}

#publications .publication-year {
  font-size: 28px;
}

#publications .publication-info h3 {
  max-width: 760px;
  font-size: 20px;
  line-height: 1.28;
}

#publications .publication-action {
  align-self: center;
  padding-top: 0;
}

@media(max-width:900px) {
  #publications .publication-archive-head {
    min-height: 0;
    justify-content: flex-start;
  }

  #publications .research-publication-symbol {
    width: 112px;
    height: 84px;
    margin: 0 0 18px;
  }

  #publications .publication-row {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  #publications .publication-action {
    grid-column: 2;
    text-align: left;
  }
}

@media(max-width:560px) {
  #publications .publication-archive-head {
    display: none;
  }

  #publications .publication-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0 24px;
  }

  #publications .publication-year {
    font-size: 24px;
  }

  #publications .publication-info h3 {
    max-width: none;
    font-size: 19px;
    line-height: 1.3;
  }

  #publications .publication-info p {
    margin-top: 7px;
  }

  #publications .publication-action {
    grid-column: auto;
    margin-top: 3px;
  }
}

.research-impact-symbol {
  width: 31px;
  height: 31px;
  margin: 0 0 13px;
  color: #d9b878;
}

@media(max-width:900px) {
  .research-project-feature {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .research-network-symbol {
    max-width: 480px;
    height: 190px;
  }

  .research-publication-symbol {
    margin-left: 0;
  }
}

@media(max-width:560px) {
  .research-focus-symbol {
    width: 36px;
    height: 36px;
    margin-bottom: 13px;
  }

  .research-network-symbol {
    height: 155px;
  }

  .research-publication-symbol {
    width: 120px;
    height: 90px;
    margin-bottom: 18px;
  }

  .research-impact-symbol {
    width: 27px;
    height: 27px;
  }
}

/*
                                ===== FEATURED PUBLICATION =====
                                หน้าที่: จัดการ์ดงานตีพิมพ์เด่น ทั้งข้อความและภาพกระดาษประกอบด้านข้าง
                                ตำแหน่ง: Section Publications
                                */
.publication {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(11, 49, 80, .08);
  min-height: 210px;
  box-shadow: 0 10px 28px rgba(11, 49, 80, .04);
}

.pub-copy {
  padding: 30px 34px;
}

.pub-label {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: .1em;
}

.pub-copy h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: 25px;
  line-height: 1.08;
  margin: 12px 0;
  color: var(--navy);
}

.pub-copy p {
  font-size: 11px;
  color: #647684;
}

.pub-visual {
  background: #f0ece4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.paper {
  width: 125px;
  height: 165px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(11, 49, 80, .16);
  padding: 14px;
  transform: rotate(-2deg);
}

.paper strong {
  font-family: 'DM Serif Display', Georgia, serif;
  color: #2c665b;
  font-size: 22px;
}

.paper div {
  height: 4px;
  background: #d7d7d2;
  margin: 9px 0;
}

.paper div:nth-child(3) {
  width: 80%;
}

.paper div:nth-child(5) {
  width: 65%;
}

/*
                                ===== IMPACT =====
                                หน้าที่: จัดตัวเลข/ข้อความผลกระทบเป็นช่อง ๆ และควบคุมไอคอนของแต่ละช่อง
                                ตำแหน่ง: Section Research / Our Impact
                                */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.impact {
  padding: 10px 28px;
  border-left: 1px solid var(--line);
  text-align: center;
}

.impact strong {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--navy);
}

.impact span {
  display: block;
  font-size: 18px;
  line-height: 1.45;
  color: #5c7080;
}

.impact .icon {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
}

/*
                                ===== PARTNERSHIPS SUMMARY =====
                                หน้าที่: จัดหัวข้อ Partnerships และกลุ่มประเภทพันธมิตรเป็นคอลัมน์
                                ตำแหน่ง: Section Partnerships ก่อน Slider
                                */
.collab {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 45px;
  align-items: center;
}


.partner-types {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.ptype {
  text-align: center;
  padding: 32px 32px;
  border-left: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.4;
  color: #526777;
}

.ptype svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
  margin-bottom: 10px;
}

/*
                                ===== PARTNERSHIP SLIDER STYLES =====
                                หน้าที่: ควบคุมรูป Slider ปุ่มลูกศร จุดบอกตำแหน่ง และการเปลี่ยนภาพ
                                ตำแหน่ง: ภายใน Section Partnerships
                                หมายเหตุ: การสลับภาพจริงควบคุมเพิ่มเติมด้วย JavaScript ช่วงท้ายไฟล์
                                */
/* =========================
                        PARTNERSHIP SLIDER
                        ========================= */

.partnership-slider {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 42px auto 0;
  overflow: hidden;
}

.partnership-slides {
  position: relative;
  width: 100%;
}

.partnership-slide {
  display: none;
  width: 100%;
  opacity: 0;
}

.partnership-slide.active {
  display: block;
  opacity: 1;
  animation: partnershipFade .6s ease;
}

.partnership-slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(11, 49, 80, .10);
}


/* Previous / Next buttons */

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 49, 80, .72);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: .2s ease;
}

.slider-arrow:hover {
  background: var(--navy);
  transform: translateY(-50%) scale(1.05);
}

.slider-prev {
  left: 18px;
}

.slider-next {
  right: 18px;
}


/* Dots */

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 49, 80, .25);
  cursor: pointer;
  transition: .25s ease;
}

.slider-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}


/* Slide transition */

/*
Animation: partnershipFade
คืออะไร: Keyframes ของ CSS animation
หน้าที่: กำหนดลำดับการเปลี่ยนแปลงของ animation ชื่อนี้
ตำแหน่งบนหน้าเว็บ: มีผลเฉพาะ element ที่เรียก animation: partnershipFade
แหล่งที่มา: CSS ภายใน <style> ของไฟล์นี้
ถ้าต้องการแก้ motion ของ animation นี้ ให้เริ่มตรวจจาก keyframes ด้านล่าง
*/
@keyframes partnershipFade {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/*
                                ===== CLOSING LANDSCAPE =====
                                หน้าที่: ควบคุม Section ปิดท้ายก่อน Footer รวมพื้นหลัง ภาพ SVG ข้อความหลัก และข้อความสถานที่
                                ตำแหน่ง: ช่วงล่างของหน้า ก่อน Footer
                                */
.closing {
  min-height: 265px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f5e8d5 0%, #dce7e8 48%, #aac1c3 100%);
}

.closing svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.closing-copy {
  position: relative;
  z-index: 3;
  padding: 50px 0;
}

.closing h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 39px;
  line-height: 1.05;
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 18px;
}

.closing p {
  font-size: 13px;
  line-height: 1.55;
  color: #28485f;
}

.place-note {
  position: absolute;
  right: 5%;
  bottom: 50px;
  z-index: 3;
  font-size: 11px;
  color: #27475e;
  max-width: 190px;
}

/*
                                ===== FOOTER =====
                                หน้าที่: ควบคุมส่วนท้ายเว็บไซต์ เช่น โลโก้ ลิงก์ ข้อมูลติดต่อ และข้อความลิขสิทธิ์
                                ตำแหน่ง: ด้านล่างสุดของหน้าเว็บ
                                */
footer {
  background: #062c48;
  color: white;
  padding: 42px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 40px;
}

.footer-brand .brand-name {
  color: #fff;
  font-size: 26px;
}

.footer-brand .brand-sub {
  color: #fff;
  opacity: .8;
}

.footer-brand p {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  color: #d8c6a5;
  font-size: 16px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  font-size: 11px;
}

.footer-contact {
  font-size: 11px;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .18);
  margin-top: 34px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  opacity: .7;
}

/*
                                ===== TEAM STYLES =====
                                หน้าที่: ควบคุมหน้าตา Section Team ตั้งแต่หัวข้อ Founder, Leadership Team และ Co-founders
                                ตำแหน่ง: หลังส่วน Impact และก่อน Partnerships
                                */
/* =========================================================
                        TEAM
                        ========================================================= */

.team-section {
  background: var(--ivory);
  padding: 110px 0 120px;
  overflow: hidden;
}


/* ---------- Introduction ---------- */

.team-intro {
  max-width: 850px;
  margin: 0 auto 75px;
  text-align: center;
}

.team-intro .eyebrow {
  color: var(--gold);
  margin-bottom: 22px;
}

.team-heading {
  margin: 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(42px, 4.5vw, 66px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.team-lead {
  max-width: 720px;
  margin: 24px auto 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}


/* ---------- Founder ---------- */

.team-founder {
  position: relative;
  max-width: 1030px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  min-height: 390px;
}

.team-founder::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  left: -75px;
  bottom: -45px;
  border: 1px solid rgba(182, 138, 69, 0.55);
  border-radius: 50%;
  pointer-events: none;
}

.team-founder-image {
  position: relative;
  z-index: 2;
}

.team-founder-image img {
  display: block;
  width: 100%;
  max-width: 430px;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  border-radius: 80px 0 80px 0;
}

.team-founder-content {
  position: relative;
  z-index: 2;
  padding: 20px 0 20px 55px;
}

.team-role {
  font-size: 10px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.team-role-line {
  width: 34px;
  height: 1px;
  margin: 20px 0 24px;
  background: var(--gold);
}

.team-founder-content h3 {
  margin: 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.08;
  font-weight: 400;
  color: var(--navy);
}


/* ---------- Leadership divider ---------- */

.team-leadership-title {
  max-width: 1030px;
  margin: 80px auto 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.team-leadership-title span {
  height: 1px;
  background: rgba(182, 138, 69, 0.65);
}

.team-leadership-title div {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold);
}


/* ---------- Co-founders ---------- */

.team-cofounders {
  max-width: 1030px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 90px;
}

.team-person {
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: center;
}

.team-person-image {
  overflow: hidden;
  border-radius: 52px 0 52px 0;
}

.team-person-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.team-person:hover .team-person-image img {
  transform: scale(1.025);
}

.team-founder-image svg {
  display: block;
  width: 100%;
  max-width: 430px;
  height: 360px;
  border-radius: 80px 0 80px 0;
}

.team-person-image svg {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
}


.team-person-content {
  padding-left: 34px;
}

.team-person-content h3 {
  margin: 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.15;
  font-weight: 400;
  color: var(--navy);
}


/* =========================================================
                        TEAM RESPONSIVE
                        ========================================================= */

/*
Responsive rule
คืออะไร: CSS สำหรับปรับการแสดงผลเมื่อเงื่อนไขหน้าจอเป็น (max-width: 900px)
หน้าที่: เปลี่ยนเฉพาะ selector ที่อยู่ภายใน block นี้ตามขนาดหน้าจอ
ตำแหน่งบนหน้าเว็บ: มีผลกับองค์ประกอบที่ selector ภายในระบุ
แหล่งที่มา: CSS ภายใน <style> ของไฟล์นี้
ถ้าต้องการแก้การแสดงผลที่ breakpoint นี้ ให้เริ่มตรวจจาก block ด้านล่าง
*/
@media (max-width: 900px) {

  .team-section {
    padding: 85px 0 95px;
  }

  .team-intro {
    margin-bottom: 60px;
  }

  .team-founder {
    grid-template-columns: 1fr 1fr;
  }

  .team-founder-image img {
    height: 330px;
  }

  .team-founder-content {
    padding-left: 38px;
  }

  .team-cofounders {
    gap: 45px;
  }

  .team-person {
    grid-template-columns: 1fr;
  }

  .team-person-image {
    max-width: 280px;
  }

  .team-person-content {
    padding: 25px 0 0;
  }
}


/*
Responsive rule
คืออะไร: CSS สำหรับปรับการแสดงผลเมื่อเงื่อนไขหน้าจอเป็น (max-width: 560px)
หน้าที่: เปลี่ยนเฉพาะ selector ที่อยู่ภายใน block นี้ตามขนาดหน้าจอ
ตำแหน่งบนหน้าเว็บ: มีผลกับองค์ประกอบที่ selector ภายในระบุ
แหล่งที่มา: CSS ภายใน <style> ของไฟล์นี้
ถ้าต้องการแก้การแสดงผลที่ breakpoint นี้ ให้เริ่มตรวจจาก block ด้านล่าง
*/
@media (max-width: 560px) {

  .team-section {
    padding: 70px 0 78px;
  }

  .team-intro {
    margin-bottom: 48px;
    text-align: left;
  }

  .team-intro .eyebrow {
    margin-bottom: 16px;
  }

  .team-heading {
    font-size: 39px;
  }

  .team-lead {
    margin-top: 18px;
    font-size: 14px;
  }


  /* Founder */

  .team-founder {
    display: block;
    min-height: 0;
  }

  .team-founder::before {
    width: 230px;
    height: 230px;
    left: -70px;
    bottom: 70px;
  }

  .team-founder-image img {
    width: 86%;
    max-width: none;
    height: auto;
    aspect-ratio: 4 / 4.6;
    border-radius: 58px 0 58px 0;
  }

  .team-founder-content {
    padding: 30px 0 0;
  }

  .team-founder-content h3 {
    font-size: 36px;
  }


  /* Leadership */

  .team-leadership-title {
    margin: 65px 0 38px;
    gap: 15px;
  }

  .team-leadership-title div {
    white-space: nowrap;
    font-size: 9px;
  }

  .team-cofounders {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .team-person {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: center;
  }

  .team-person-image {
    max-width: none;
    border-radius: 38px 0 38px 0;
  }

  .team-person-content {
    padding: 0 0 0 24px;
  }

  .team-person-content h3 {
    font-size: 24px;
  }

  .team-role {
    font-size: 9px;
  }

  .team-role-line {
    margin: 14px 0 17px;
  }
}

/*
                                ===== RESPONSIVE: SCREEN UP TO 1180PX =====
                                หน้าที่: ปรับการแสดงผลของส่วนต่าง ๆ เมื่อความกว้างหน้าจอไม่เกิน 1180px
                                ค้นหาส่วนนี้เมื่อ: หน้าจอขนาดกลางเริ่มมีการจัดวางต่างจาก Desktop
                                */
/*
Responsive rule
คืออะไร: CSS สำหรับปรับการแสดงผลเมื่อเงื่อนไขหน้าจอเป็น (max-width:1180px)
หน้าที่: เปลี่ยนเฉพาะ selector ที่อยู่ภายใน block นี้ตามขนาดหน้าจอ
ตำแหน่งบนหน้าเว็บ: มีผลกับองค์ประกอบที่ selector ภายในระบุ
แหล่งที่มา: CSS ภายใน <style> ของไฟล์นี้
ถ้าต้องการแก้การแสดงผลที่ breakpoint นี้ ให้เริ่มตรวจจาก block ด้านล่าง
*/
@media(max-width:1180px) {
  .desktop-nav {
    gap: 14px;
    font-size: 10px;
  }

  .brand {
    min-width: 240px;
  }

  .header-actions .btn {
    display: none;
  }

  .hero h1 {
    font-size: 58px;
  }

  .section-grid {
    grid-template-columns: 220px 1fr;
  }

  .programs {
    grid-template-columns: 1fr;
  }

  .program-card {
    min-height: 280px;
  }
}

/*
                                ===== RESPONSIVE: SCREEN UP TO 900PX =====
                                หน้าที่: ปรับ Header, Mobile Menu, Hero, Sections, Timeline, Impact, Partnerships และ Footer สำหรับจอแคบลง
                                ค้นหาส่วนนี้เมื่อ: ต้องการดูการแสดงผลบน Tablet/หน้าจอขนาดเล็ก
                                */
/*
Responsive rule
คืออะไร: CSS สำหรับปรับการแสดงผลเมื่อเงื่อนไขหน้าจอเป็น (max-width:900px)
หน้าที่: เปลี่ยนเฉพาะ selector ที่อยู่ภายใน block นี้ตามขนาดหน้าจอ
ตำแหน่งบนหน้าเว็บ: มีผลกับองค์ประกอบที่ selector ภายในระบุ
แหล่งที่มา: CSS ภายใน <style> ของไฟล์นี้
ถ้าต้องการแก้การแสดงผลที่ breakpoint นี้ ให้เริ่มตรวจจาก block ด้านล่าง
*/
@media(max-width:900px) {
  .site-header {
    height: 72px;
  }

  .wrap {
    width: min(100% - 36px, var(--max));
  }

  .desktop-nav,
  .header-actions .search,
  .header-actions .lang,
  .header-actions .btn {
    display: none;
  }

  .menu-btn {
    display: block;
    margin-left: auto;
  }

  .brand {
    min-width: 0;
  }

  .mobile-nav.open {
    display: block;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--line);
    padding: 20px 24px;
    z-index: 49;
  }

  .mobile-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 48px 0 25px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-art {
    min-height: 440px;
  }

  .quote {
    left: 2%;
    top: 30px;
  }

  .cap-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cap:nth-child(2) {
    border-right: 0;
  }

  .cap {
    border-bottom: 1px solid var(--line);
    padding: 22px;
  }

  .section-grid,
  .collab {
    grid-template-columns: 1fr;
  }

  .programs {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .timeline:before {
    display: none;
  }

  .time {
    border-left: 1px solid var(--gold);
    padding: 0 0 18px 20px;
  }

  .time:before {
    top: 0;
    left: -5px;
  }

  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .impact {
    border-bottom: 1px solid var(--line);
    padding: 22px;
  }



  .partner-types {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 20px;
  }


  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1/-1;
  }
}

/*
                                ===== RESPONSIVE: SCREEN UP TO 560PX =====
                                หน้าที่: ปรับองค์ประกอบหลักให้เหมาะกับหน้าจอมือถือขนาดเล็ก
                                ค้นหาส่วนนี้เมื่อ: สิ่งที่เห็นบนมือถือแตกต่างจาก Desktop
                                */
/*
Responsive rule
คืออะไร: CSS สำหรับปรับการแสดงผลเมื่อเงื่อนไขหน้าจอเป็น (max-width:560px)
หน้าที่: เปลี่ยนเฉพาะ selector ที่อยู่ภายใน block นี้ตามขนาดหน้าจอ
ตำแหน่งบนหน้าเว็บ: มีผลกับองค์ประกอบที่ selector ภายในระบุ
แหล่งที่มา: CSS ภายใน <style> ของไฟล์นี้
ถ้าต้องการแก้การแสดงผลที่ breakpoint นี้ ให้เริ่มตรวจจาก block ด้านล่าง
*/
@media(max-width:560px) {
  .wrap {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 21px;
  }

  .brand-sub {
    font-size: 7px;
  }

  .hero-copy {
    padding-top: 36px;
  }

  .hero .eyebrow {
    font-size: 9px;
    line-height: 1.5;
  }

  .hero h1 {
    font-size: 47px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    justify-content: center;
  }

  .hero-micro {
    font-size: 16px;
    margin-top: 30px;
  }

  .hero-art {
    min-height: 360px;
  }

  .quote {
    font-size: 16px;
    width: 155px;
  }

  .truth-card {
    font-size: 8px;
    padding: 12px 14px;
  }

  .maternal-svg {
    width: 92%;
    right: -12%;
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }

  .cap {
    border-right: 0;
  }

  .section {
    padding: 45px 0;
  }

  .section-grid {
    gap: 25px;
  }

  .section-title h2 {
    font-size: 34px;
  }

  .program-card,
  .program-card.gdm {
    grid-template-columns: 1fr;
  }

  .program-visual {
    min-height: 220px;
  }

  .program-body {
    padding: 22px;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .publication {
    grid-template-columns: 1fr;
  }

  .pub-visual {
    min-height: 210px;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .partner-types {
    grid-template-columns: 1fr 1fr;
  }



  .closing {
    min-height: 310px;
  }

  .closing h2 {
    font-size: 34px;
  }

  .place-note {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    display: block;
    line-height: 1.8;
  }
}



/* ============================================================
                                   ABOUT ISMOM2555 — EDITORIAL INSTITUTIONAL LAYOUT
                                   Scope: ABOUT SECTION ONLY
                                   ============================================================ */

.about-section {
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.about-section strong {
  color: var(--navy);
}

.about-section .about-row {
  border-bottom: 1px solid var(--line);
}

.about-section .about-kicker {
  margin-bottom: 9px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-section .about-title {
  margin: 0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.018em;
  color: var(--navy);
}

.about-section .about-rule {
  width: 42px;
  height: 2px;
  margin: 17px 0 20px;
  background: var(--gold);
}

.about-section .about-copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}

/* ============================================================
   ABOUT INTRO — TEXT-ONLY EDITORIAL LAYOUT
   หน้าที่: จัดส่วนเปิด About ให้สมดุลเมื่อไม่มีภาพประกอบด้านขวา
   ตำแหน่ง: About ISMOM2555 ส่วนแรก
   ============================================================ */

.about-section .about-intro {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  padding: 78px 32px 82px;
  background:
    radial-gradient(circle at 50% 38%,
      rgba(182, 138, 69, .055) 0,
      rgba(182, 138, 69, 0) 34%),
    var(--ivory);
}

.about-section .about-intro-copy {
  width: 100%;
  max-width: 940px;
  padding: 0;
  text-align: center;
}

.about-section .about-intro .about-kicker {
  margin-bottom: 18px;
  font-size: 10px;
  letter-spacing: .22em;
}

.about-section .about-intro .about-title {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(46px, 5vw, 70px);
  line-height: 1.01;
  letter-spacing: -.025em;
}

.about-section .about-intro .about-lead {
  max-width: 720px;
  margin: 26px auto 0;
  font-size: 16px;
  line-height: 1.7;
  color: #526777;
}

.about-section .about-intro .about-rule {
  width: 46px;
  height: 2px;
  margin: 28px auto 25px;
  background: var(--gold);
}

.about-section .about-intro .about-copy {
  max-width: 650px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}


/* ============================================================
   ABOUT INTRO — RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {

  .about-section .about-intro {
    min-height: auto;
    padding: 68px 28px 72px;
  }

  .about-section .about-intro .about-title {
    font-size: clamp(42px, 7vw, 58px);
  }

  .about-section .about-intro .about-lead {
    max-width: 650px;
  }
}


@media (max-width: 560px) {

  .about-section .about-intro {
    padding: 54px 22px 58px;
  }

  .about-section .about-intro-copy {
    text-align: left;
  }

  .about-section .about-intro .about-kicker {
    margin-bottom: 14px;
  }

  .about-section .about-intro .about-title {
    margin: 0;
    font-size: 42px;
    line-height: 1.02;
  }

  .about-section .about-intro .about-lead {
    margin: 22px 0 0;
    font-size: 14px;
    line-height: 1.65;
  }

  .about-section .about-intro .about-rule {
    margin: 24px 0 21px;
  }

  .about-section .about-intro .about-copy {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
  }
}

/* Who we are / Why we exist */
.about-section .about-foundation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 38px;
  padding-bottom: 38px;
}

.about-section .foundation-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 0 46px 0 0;
}

.about-section .foundation-item+.foundation-item {
  padding: 0 0 0 46px;
  border-left: 1px solid var(--line);
}

.about-section .about-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--gold);
}

.about-section .about-icon svg {
  width: 34px;
  height: 34px;
}

.about-section .foundation-item .about-title {
  max-width: 500px;
  font-size: clamp(27px, 2.45vw, 38px);
}

.about-section .foundation-item .about-copy {
  max-width: 570px;
}

/* What we do */
.about-section .about-work {
  padding-top: 34px;
  padding-bottom: 36px;
}

.about-section .about-work-grid,
.about-section .about-how-grid {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(520px, 1.35fr);
  gap: clamp(45px, 7vw, 100px);
  align-items: center;
}

.about-section .about-work .about-title,
.about-section .about-how .about-title,
.about-section .about-capabilities .about-title,
.about-section .about-approach .about-title {
  font-size: clamp(32px, 3vw, 45px);
}

.about-section .about-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 12px;
}

.about-section .flow-step {
  min-width: 0;
  text-align: center;
}

.about-section .flow-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 11px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fbfaf7;
  color: var(--navy);
}

.about-section .flow-icon svg {
  width: 29px;
  height: 29px;
}

.about-section .flow-step h3 {
  margin: 0 0 6px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 400;
  color: var(--navy);
}

.about-section .flow-step p {
  margin: 0 auto;
  max-width: 135px;
  font-size: 10.5px;
  line-height: 1.42;
  color: var(--muted);
}

.about-section .flow-arrow {
  padding-top: 21px;
  font-size: 17px;
  color: var(--navy);
}

/* Capability pillars */
.about-section .about-capabilities {
  padding-top: 32px;
  padding-bottom: 34px;
  background: var(--ivory);
}

.about-section .about-capabilities .about-title {
  margin-bottom: 27px;
}

.about-section .capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-section .capability-item {
  min-width: 0;
  padding: 0 30px;
}

.about-section .capability-item:first-child {
  padding-left: 0;
}

.about-section .capability-item:last-child {
  padding-right: 0;
}

.about-section .capability-item+.capability-item {
  border-left: 1px solid var(--line);
}

.about-section .capability-top {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 15px;
  align-items: start;
}

.about-section .capability-top svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.about-section .capability-number {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold);
}

.about-section .capability-item h3 {
  margin: 0 0 8px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  line-height: 1.12;
  font-weight: 400;
  color: var(--navy);
}

.about-section .capability-summary {
  min-height: 54px;
  margin: 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink);
}

.about-section .capability-item .about-rule {
  width: 36px;
  margin: 15px 0 14px;
}

.about-section .capability-item .about-copy {
  font-size: 11px;
  line-height: 1.5;
}

/* How we work */
.about-section .about-how {
  padding-top: 34px;
  padding-bottom: 36px;
}

.about-section .about-how-copy .about-copy+.about-copy {
  margin-top: 10px;
}

.about-section .about-emphasis {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--navy);
}

.about-section .about-cycle {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 10px;
}

.about-section .about-cycle .flow-step h3 {
  font-size: 16px;
}

.about-section .about-cycle .flow-step p {
  max-width: 120px;
}

/* Approach */
.about-section .about-approach {
  padding-top: 30px;
  padding-bottom: 36px;
  background: #fff;
}

.about-section .about-approach .about-title {
  margin-bottom: 24px;
}

.about-section .approach-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.about-section .approach-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  min-width: 0;
  padding: 0 22px;
}

.about-section .approach-item:first-child {
  padding-left: 0;
}

.about-section .approach-item:last-child {
  padding-right: 0;
}

.about-section .approach-item+.approach-item {
  border-left: 1px solid var(--line);
}

.about-section .approach-item svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.about-section .approach-item h3 {
  margin: 0 0 7px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 400;
  color: var(--navy);
}

.about-section .approach-item p {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.48;
  color: var(--muted);
}

/*
Responsive rule
คืออะไร: CSS สำหรับปรับการแสดงผลเมื่อเงื่อนไขหน้าจอเป็น (max-width: 900px)
หน้าที่: เปลี่ยนเฉพาะ selector ที่อยู่ภายใน block นี้ตามขนาดหน้าจอ
ตำแหน่งบนหน้าเว็บ: มีผลกับองค์ประกอบที่ selector ภายในระบุ
แหล่งที่มา: CSS ภายใน <style> ของไฟล์นี้
ถ้าต้องการแก้การแสดงผลที่ breakpoint นี้ ให้เริ่มตรวจจาก block ด้านล่าง
*/
@media (max-width: 900px) {
  .about-section .about-intro {
    grid-template-columns: 1fr;
  }

  .about-section .about-intro-copy {
    padding: 48px 18px;
    width: min(100% - 36px, var(--max));
    margin: auto;
  }

  .about-section .about-intro-visual {
    min-height: 320px;
  }

  .about-section .about-foundation,
  .about-section .about-work-grid,
  .about-section .about-how-grid {
    grid-template-columns: 1fr;
  }

  .about-section .foundation-item {
    padding: 0 0 34px;
  }

  .about-section .foundation-item+.foundation-item {
    padding: 34px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .about-section .about-work-grid,
  .about-section .about-how-grid {
    gap: 34px;
  }

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

  .about-section .capability-item,
  .about-section .capability-item:first-child,
  .about-section .capability-item:last-child {
    padding: 24px;
  }

  .about-section .capability-item:nth-child(odd) {
    padding-left: 0;
  }

  .about-section .capability-item:nth-child(even) {
    padding-right: 0;
    border-left: 1px solid var(--line);
  }

  .about-section .capability-item:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

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

  .about-section .approach-item,
  .about-section .approach-item:first-child,
  .about-section .approach-item:last-child {
    padding: 22px;
  }

  .about-section .approach-item:nth-child(odd) {
    padding-left: 0;
  }

  .about-section .approach-item:nth-child(even) {
    padding-right: 0;
    border-left: 1px solid var(--line);
  }

  .about-section .approach-item:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }
}

/*
Responsive rule
คืออะไร: CSS สำหรับปรับการแสดงผลเมื่อเงื่อนไขหน้าจอเป็น (max-width: 560px)
หน้าที่: เปลี่ยนเฉพาะ selector ที่อยู่ภายใน block นี้ตามขนาดหน้าจอ
ตำแหน่งบนหน้าเว็บ: มีผลกับองค์ประกอบที่ selector ภายในระบุ
แหล่งที่มา: CSS ภายใน <style> ของไฟล์นี้
ถ้าต้องการแก้การแสดงผลที่ breakpoint นี้ ให้เริ่มตรวจจาก block ด้านล่าง
*/
@media (max-width: 560px) {
  .about-section .about-intro-copy {
    width: calc(100% - 28px);
    padding: 40px 0;
  }

  .about-section .about-intro .about-title {
    font-size: 40px;
  }

  .about-section .about-intro-visual {
    min-height: 260px;
  }

  .about-section .about-foundation {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .about-section .foundation-item {
    grid-template-columns: 52px 1fr;
    gap: 16px;
  }

  .about-section .about-icon {
    width: 48px;
    height: 48px;
  }

  .about-section .about-icon svg {
    width: 27px;
    height: 27px;
  }

  .about-section .foundation-item .about-title {
    font-size: 28px;
  }

  .about-section .about-flow,
  .about-section .about-cycle {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-section .flow-step {
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 15px;
    text-align: left;
    padding: 13px 0;
    border-top: 1px solid var(--line);
  }

  .about-section .flow-icon {
    grid-row: 1 / 3;
    width: 46px;
    height: 46px;
    margin: 0;
  }

  .about-section .flow-icon svg {
    width: 24px;
    height: 24px;
  }

  .about-section .flow-step h3 {
    align-self: end;
    font-size: 17px;
  }

  .about-section .flow-step p,
  .about-section .about-cycle .flow-step p {
    max-width: none;
    margin: 0;
  }

  .about-section .flow-arrow {
    display: none;
  }

  .about-section .capability-grid,
  .about-section .approach-grid {
    grid-template-columns: 1fr;
  }

  .about-section .capability-item,
  .about-section .capability-item:first-child,
  .about-section .capability-item:last-child,
  .about-section .capability-item:nth-child(odd),
  .about-section .capability-item:nth-child(even) {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .about-section .capability-item:first-child {
    border-top: 0;
  }

  .about-section .capability-summary {
    min-height: 0;
  }

  .about-section .approach-item,
  .about-section .approach-item:first-child,
  .about-section .approach-item:last-child,
  .about-section .approach-item:nth-child(odd),
  .about-section .approach-item:nth-child(even) {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .about-section .approach-item:first-child {
    border-top: 0;
  }
}



/* ============================================================
   MAIN SECTION DIFFERENTIATION — approved structural rhythm
   Keeps the existing ISMOM2555 palette and typography.
   ============================================================ */
#about,
#programs,
#journey,
#research,
#team,
#partnerships,
footer#contact {
  position: relative;
  border-top: 1px solid var(--line);
}

/* restrained gold chapter cue at each major transition */
#about::before,
#programs::before,
#journey::before,
#research::before,
#team::before,
#partnerships::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -1px;
  left: 50%;
  width: 64px;
  height: 2px;
  transform: translateX(-50%);
  background: var(--gold);
}

/* alternate tonal fields so adjacent chapters do not visually merge */
#journey {
  background: var(--white);
}

#research {
  background: var(--ivory);
}

#team.team-section {
  background: var(--white);
}

#partnerships {
  background: var(--ivory);
}

/* Impact now belongs to Flagship Programs, not Research */
.program-impact-section {
  position: relative;
  background: var(--navy);
}

.program-impact-section .research-impact {
  margin: 0;
}

.program-impact-section+#journey {
  border-top-color: rgba(182, 138, 69, .35);
}

@media(max-width:560px) {

  #about::before,
  #programs::before,
  #journey::before,
  #research::before,
  #team::before,
  #partnerships::before {
    width: 44px;
  }
}


/* ============================================================
   MICRO-INTERACTIONS + ACTIVE SECTION NAVIGATION
   Added without changing layout, content, typography or brand colors.
   ============================================================ */
.desktop-nav a {
  position: relative;
  transition: color .22s ease;
}

/* Use only the existing border-bottom for the active page.
   No second pseudo-element underline is created. */
.desktop-nav a:hover {
  color: var(--gold);
  border-bottom-color: transparent;
}

.desktop-nav a.active,
.desktop-nav a.active:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.mobile-nav a {
  transition: color .2s ease, padding-left .2s ease;
}

.mobile-nav a.active {
  color: var(--gold);
  padding-left: 5px;
}

/* Flagship Programs — restrained lift + visual response */
.program-card {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(11, 49, 80, .07);
  border-color: rgba(182, 138, 69, .24);
}

.program-card .program-visual svg {
  transition: transform .45s ease;
}

.program-card:hover .program-visual svg {
  transform: scale(1.018);
}

/* Journey — each node responds quietly */
.time:before {
  transition: transform .24s ease, background-color .24s ease;
}

.time:hover:before {
  transform: scale(1.35);
  background: var(--gold);
}

.time h4 {
  transition: color .2s ease;
}

.time:hover h4 {
  color: var(--gold);
}

/* Research — chapter number and symbols get a small editorial response */
.research-chapter-number {
  transition: transform .25s ease, color .25s ease;
}

.research-chapter:hover .research-chapter-number {
  transform: translateY(-2px);
  color: var(--navy);
}

.research-symbol {
  transition: transform .35s ease, opacity .35s ease;
}

.research-focus-item:hover .research-symbol,
.research-project-feature:hover .research-symbol {
  transform: translateY(-3px);
}

/* Publications — row cue + moving action arrow feel */
.publication-row {
  position: relative;
}

.publication-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .32s ease;
}

.publication-row:hover::after {
  width: 100%;
}

.publication-row .text-link {
  transition: color .2s ease, transform .2s ease;
}

.publication-row:hover .text-link {
  transform: translateX(4px);
}

/* Team already has portrait zoom; add only a subtle gold line response */
.team-role-line {
  transition: width .3s ease;
}

.team-founder:hover .team-role-line,
.team-person:hover .team-role-line {
  width: 48px;
}

/* Partnerships — icon rises slightly, preserving the existing slider */
.ptype svg {
  transition: transform .25s ease;
}

.ptype:hover svg {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {

  .desktop-nav a,
  .mobile-nav a,
  .program-card,
  .program-card .program-visual svg,
  .time:before,
  .time h4,
  .research-chapter-number,
  .research-symbol,
  .publication-row::after,
  .publication-row .text-link,
  .team-role-line,
  .ptype svg {
    transition: none !important;
    transform: none !important;
  }
}

/* ===== PREMIUM SOFT REVEAL ===== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity .7s ease,
    transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Multi-page: make hidden reveal content visible on page entry if JS unavailable */
/* HIDE DECORATIVE SECTION DIVIDERS */

#about,
#programs,
#journey,
#research,
#team,
#partnerships {
  border-top: none;
}

#about::before,
#programs::before,
#journey::before,
#research::before,
#team::before,
#partnerships::before {
  content: none;
}

/* Temporarily hide language switcher */
.header-actions .lang {
  display: none;
}
