:root {
  --blue: #2280eb;
  --yellow: #ffe266;
  --red: #ec3e29;
  --white: #ffffff;
  --off-white: #f7f8fb;
  --soft: #ededed;
  --dark: #3a3d3c;
  --text: #1d2221;
  --muted: #63717a;
  --border: rgba(58, 61, 60, 0.12);
  --shadow: 0 20px 60px rgba(34, 128, 235, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 32px));
  --display-font: "Open Sauce", "Inter", "Kanit", sans-serif;
  --body-font: "Kanit", "Inter", sans-serif;
}

/*
  If you provide self-hosted Open Sauce files later, uncomment and adjust:
  @font-face {
    font-family: "Open Sauce";
    src: url("./fonts/OpenSauceOne-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
*/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 226, 102, 0.45), transparent 24%),
    radial-gradient(circle at top right, rgba(34, 128, 235, 0.12), transparent 30%),
    linear-gradient(180deg, #fcfdff 0%, #f6f8fb 100%);
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.page-shell {
  overflow: hidden;
}

.section-tag {
  margin: 0 0 12px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.hero-copy h2,
.intro-copy h2,
.sgi-copy h2,
.cta-inner h2 {
  margin: 0 0 16px;
  font-family: var(--display-font);
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 1.20;
  letter-spacing: -0.04em;
}

.section-heading p,
.hero-lead,
.intro-copy p,
.sgi-copy p,
.cta-inner p,
.project-copy p,
.process-card p,
.stage-copy p,
.mini-panel p,
.footer-note {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--muted);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.76);
  border-bottom: 1px solid rgba(58, 61, 60, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), #6ab0ff);
  color: var(--white);
  font-family: var(--display-font);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(34, 128, 235, 0.28);
}

.brand-eyebrow {
  margin: 0 0 3px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand-name {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--dark);
  font-size: 0.96rem;
  transition: 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(34, 128, 235, 0.08);
  color: var(--blue);
}

.site-nav .nav-cta {
  background: var(--blue);
  color: var(--white);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: #1568c8;
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: rgba(34, 128, 235, 0.08);
  border-radius: 14px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--dark);
  transition: 0.25s ease;
}

.hero-section {
  padding-top: 48px;
}

.hero-grid,
.intro-grid,
.sgi-grid,
.photo-guideline-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 32px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h2 {
  max-width: 13ch;
}

.hero-actions,
.stage-actions,
.project-actions,
.cta-actions,
.sgi-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(34, 128, 235, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #1568c8;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--border);
  color: var(--dark);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(34, 128, 235, 0.3);
  background: rgba(34, 128, 235, 0.06);
  color: var(--blue);
}

.button-full {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.stat-card,
.metric-card,
.process-card,
.mini-panel {
  border-radius: var(--radius-lg);
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(58, 61, 60, 0.08);
  box-shadow: var(--shadow);
}

.stat-card strong,
.metric-card strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  font-family: var(--display-font);
  color: var(--dark);
  margin-bottom: 10px;
}

.stat-card span,
.metric-card span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
}

.hero-visual {
  position: relative;
  min-height: 580px;
}

.photo-card,
.interactive-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  background:
    linear-gradient(135deg, rgba(34, 128, 235, 0.92), rgba(34, 128, 235, 0.28)),
    radial-gradient(circle at 20% 20%, rgba(255, 226, 102, 0.92), transparent 32%),
    radial-gradient(circle at 85% 80%, rgba(236, 62, 41, 0.58), transparent 30%),
    linear-gradient(180deg, #f0f7ff, #d9ecff 70%, #ffffff 100%);
}

.large-photo {
  min-height: 580px;
}

.photo-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.photo-overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
}

.photo-overlay p,
.photo-overlay a {
  margin: 0;
  color: var(--dark);
}

.photo-overlay a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 600;
}

.photo-overlay.compact {
  max-width: 360px;
}

.floating-quote {
  position: absolute;
  left: -18px;
  bottom: 26px;
  max-width: 320px;
  padding: 24px;
  border-radius: 26px;
}

.floating-quote p {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.floating-quote strong {
  font-size: 1.28rem;
  line-height: 1.5;
}

.intro-band,
.photo-guideline-section {
  position: relative;
}

.intro-band::before,
.projects-section::before {
  content: "";
  position: absolute;
  inset: 80px 0 0;
  background: linear-gradient(180deg, rgba(34, 128, 235, 0.04), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.intro-panels,
.photo-notes,
.sgi-cards {
  display: grid;
  gap: 18px;
}

.mini-panel h3,
.process-card h3,
.project-copy h3,
.stage-copy h3,
.modal-panel h2 {
  margin: 0 0 12px;
  font-family: var(--display-font);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.mini-panel h3,
.process-card h3 {
  font-size: 1.35rem;
}

.pillars-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pillar-list,
.project-tabs {
  display: grid;
  gap: 14px;
  align-content: start;
}

.pillar-button,
.project-tab {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(58, 61, 60, 0.08);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  padding: 22px 22px 20px;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: var(--shadow);
}

.pillar-button small,
.project-tab small,
.stage-kicker,
.project-overview-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.pillar-button strong,
.project-tab strong {
  display: block;
  font-size: 1.22rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.pillar-button p,
.project-tab p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.pillar-button.is-active,
.project-tab.is-active {
  background: linear-gradient(135deg, rgba(34, 128, 235, 0.96), rgba(34, 128, 235, 0.8));
  color: var(--white);
  transform: translateX(4px);
}

.pillar-button.is-active small,
.project-tab.is-active small,
.pillar-button.is-active strong,
.project-tab.is-active strong,
.pillar-button.is-active p,
.project-tab.is-active p {
  color: var(--white);
}

.pillar-stage,
.project-stage {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  padding: 24px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.stage-copy,
.project-copy {
  padding: 12px 8px 12px 8px;
}

.stage-copy h3,
.project-copy h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin-bottom: 16px;
}

.highlight-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.highlight-list li {
  position: relative;
  padding-left: 18px;
  color: var(--dark);
  line-height: 1.7;
}

.highlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 226, 102, 0.22);
}

.stage-visual,
.project-media {
  min-height: 100%;
}

#pillarVisual,
.project-photo {
  min-height: 520px;
}

.interactive-photo.theme-education {
  background:
    linear-gradient(135deg, rgba(34, 128, 235, 0.96), rgba(84, 158, 242, 0.78)),
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.95), transparent 26%),
    radial-gradient(circle at 82% 80%, rgba(255, 226, 102, 0.7), transparent 28%),
    linear-gradient(180deg, #f3f9ff, #dbeeff);
}

.interactive-photo.theme-culture {
  background:
    linear-gradient(135deg, rgba(255, 226, 102, 0.96), rgba(255, 196, 80, 0.82)),
    radial-gradient(circle at 72% 25%, rgba(255, 255, 255, 0.8), transparent 24%),
    radial-gradient(circle at 10% 90%, rgba(34, 128, 235, 0.28), transparent 26%),
    linear-gradient(180deg, #fff9dc, #fff3b5);
}

.interactive-photo.theme-peace,
.interactive-photo.theme-project-1 {
  background:
    linear-gradient(135deg, rgba(236, 62, 41, 0.9), rgba(255, 128, 104, 0.78)),
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.88), transparent 24%),
    radial-gradient(circle at 80% 84%, rgba(255, 226, 102, 0.56), transparent 26%),
    linear-gradient(180deg, #fff2ef, #ffd3ca);
}

.interactive-photo.theme-project-2 {
  background:
    linear-gradient(135deg, rgba(34, 128, 235, 0.9), rgba(255, 226, 102, 0.78)),
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.86), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(236, 62, 41, 0.45), transparent 28%),
    linear-gradient(180deg, #eef6ff, #fff7d0);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(34, 128, 235, 0.08);
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 18px;
}

.project-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.project-overview-label {
  margin-top: 20px;
}

.cta-section {
  padding-bottom: 110px;
}

.cta-inner {
  padding: 42px;
  text-align: center;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(34, 128, 235, 0.95), rgba(34, 128, 235, 0.8)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-inner .section-tag,
.cta-inner p,
.cta-inner h2 {
  color: var(--white);
}

.cta-inner h2 {
  max-width: none;
}

.cta-inner p {
  max-width: 720px;
  margin-inline: auto;
}

.cta-inner .button-secondary {
  background: rgba(255, 255, 255, 0.95);
}

.site-footer {
  border-top: 1px solid rgba(58, 61, 60, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  min-height: 126px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
}

.site-footer h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(34, 128, 235, 0.08);
  color: var(--blue);
  font-weight: 600;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 24, 39, 0.48);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 50;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(90vh, 920px);
  overflow: auto;
  padding: 34px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.24);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(34, 128, 235, 0.08);
  color: var(--blue);
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-copy {
  margin-bottom: 18px;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 10px;
  font-weight: 500;
  color: var(--dark);
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(58, 61, 60, 0.14);
  background: #fff;
  color: var(--dark);
  outline: none;
  transition: 0.2s ease;
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  border-color: rgba(34, 128, 235, 0.4);
  box-shadow: 0 0 0 4px rgba(34, 128, 235, 0.12);
}

.form-success {
  text-align: center;
  padding: 12px 0 4px;
}

.success-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(34, 128, 235, 0.1);
  color: var(--blue);
  font-size: 2rem;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.7s ease;
}

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

.reveal.delay-1 {
  transition-delay: 0.08s;
}

.reveal.delay-2 {
  transition-delay: 0.16s;
}

@media (max-width: 1120px) {
  .hero-grid,
  .intro-grid,
  .sgi-grid,
  .photo-guideline-grid,
  .pillar-stage,
  .project-stage,
  .pillars-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy h2 {
    max-width: 16ch;
  }

  .hero-visual {
    min-height: auto;
  }

  .floating-quote {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 18px;
  }
}

@media (max-width: 920px) {
  .section {
    padding: 72px 0;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(58, 61, 60, 0.08);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero-stats,
  .process-grid,
  .project-tabs {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 60px 0;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .hero-copy h2,
  .section-heading h2,
  .intro-copy h2,
  .sgi-copy h2,
  .cta-inner h2 {
    font-size: clamp(1.8rem, 11vw, 3rem);
  }

  .large-photo,
  #pillarVisual,
  .project-photo {
    min-height: 420px;
  }

  .stat-card,
  .metric-card,
  .process-card,
  .mini-panel,
  .pillar-stage,
  .project-stage,
  .cta-inner,
  .modal-panel {
    padding: 22px;
  }

  .photo-overlay,
  .floating-quote {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 18px;
  }

  .stage-copy,
  .project-copy {
    padding: 4px 0 0;
  }
}
