/* ==========================================================================
   4L Solutions — main stylesheet
   Extracted from inline <style> blocks in index.html.
   ========================================================================== */

/* --- Reset & globals ----------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: "Cormorant Garamond", serif;
  background: #f8f6f3;
  color: #2a2a2a;
  overflow: hidden;
}

/* <main tabindex="-1"> is a skip-link target, not interactive content —
   suppress the focus outline it would otherwise inherit from :focus-visible. */
main:focus,
main:focus-visible {
  outline: none;
}

@view-transition {
  navigation: auto;
}

/* --- Media defaults (kept from previous reset) --------------------------- */
img,
video {
  max-width: 100%;
  height: auto;
}

.h-full {
  height: 100%;
}

/* --- Accessibility helpers ----------------------------------------------- */
.skip-link {
    position: absolute;
    left: -10000px;
    top: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus,
.skip-link:focus-visible {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    overflow: visible;
    background: #2a2a2a;
    color: #f8f6f3;
    padding: 0.6rem 1rem;
    z-index: 10000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    text-decoration: none;
    outline: 3px solid var(--color-magenta, #ff00ff);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid var(--color-magenta, #ff00ff);
    outline-offset: 2px;
}

/* Don't show outline on mouse-only clicks of nav/donate buttons */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

.form-status {
    margin: 0.5rem 0 0;
    min-height: 1.4em;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.form-status[data-state='success'] {
    color: #15803d;
    font-weight: 600;
}

.form-status[data-state='error'] {
    color: #b91c1c;
    font-weight: 600;
}

/* --- Page wrapper -------------------------------------------------------- */
.page-wrapper {
  width: 100%;
  max-width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(135deg, rgba(64, 156, 255, 0.02) 0%, transparent 50%),
    linear-gradient(225deg, rgba(255, 0, 255, 0.02) 0%, transparent 50%);
  animation: breathe 8s ease-in-out infinite;
  overflow-x: hidden;
  overflow-y: auto;
  will-change: opacity;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}

.page-container {
  display: none;
  opacity: 0;
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-container.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Main layout -------------------------------------------------------- */
main {
  padding-top: 130px;
  width: 100%;
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 7%;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.hero-top {
  color: #409cff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
  font-family: "Montserrat", sans-serif;
  display: inline-block;
}

.hero-title {
  font-weight: 900;
  margin: 0;
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-size: 5rem;
  background: linear-gradient(135deg, #ff00ff 0%, #d946ef 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  animation: titleBreathe 6s ease-in-out infinite;
  word-wrap: break-word;
  font-family: "Montserrat", sans-serif;
  text-shadow: 4px 4px 0 rgba(255, 0, 255, 0.1);
}

@keyframes titleBreathe {
  0%,
  100% {
    opacity: 0.95;
  }
  50% {
    opacity: 1;
  }
}

.hero-chinese {
  font-size: 2.8rem;
  font-weight: 300;
  color: #409cff;
  letter-spacing: 0.15em;
  text-shadow: 3px 3px 0 rgba(64, 156, 255, 0.1);
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.95);
  border: 3px solid #2a2a2a;
  backdrop-filter: blur(12px);
  box-shadow:
    10px 10px 0 rgba(150, 150, 150, 0.25),
    -3px -3px 0 rgba(255, 0, 255, 0.15);
  width: 100%;
  transition: all 0.3s ease;
  animation: cardBreathe 6s ease-in-out infinite;
}

@keyframes cardBreathe {
  0%,
  100% {
    opacity: 0.98;
  }
  50% {
    opacity: 1;
  }
}

.hero-right:hover {
  box-shadow:
    12px 12px 0 rgba(150, 150, 150, 0.3),
    -4px -4px 0 rgba(255, 0, 255, 0.3),
    0 0 50px rgba(255, 0, 255, 0.3);
}

.hero-subtitle {
  font-size: 1.7rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 400;
  opacity: 0.85;
}

.cta-button {
  padding: 1.3rem 2.5rem;
  background: linear-gradient(135deg, #ff00ff, #d946ef);
  border: 3px solid #2a2a2a;
  color: #f8f6f3;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 6px 6px 0 rgba(150, 150, 150, 0.3);
  align-self: flex-start;
  animation: buttonPulse 4s ease-in-out infinite;
  font-family: "Montserrat", sans-serif;
}

@keyframes buttonPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.cta-button:hover {
  transform: translate(-3px, -3px);
  box-shadow:
    9px 9px 0 rgba(150, 150, 150, 0.4),
    0 0 40px rgba(255, 0, 255, 0.6);
}

/* --- Section blocks ----------------------------------------------------- */
.section-full {
  width: 100%;
  padding: 7rem 7%;
  position: relative;
  max-width: 100%;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  word-wrap: break-word;
  font-family: "Montserrat", sans-serif;
  color: #2a2a2a;
}

.section-intro {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 4.5rem;
  font-size: 1.2rem;
  line-height: 1.65;
  font-weight: 400;
  opacity: 0.85;
}

.three-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.pillar-item {
  padding: 3rem 2.5rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border: 2px solid #2a2a2a;
  transition: all 0.3s ease;
  overflow: hidden;
  width: 100%;
  box-shadow: 4px 4px 0 rgba(150, 150, 150, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pillar-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(150, 150, 150, 0.25);
  z-index: 10;
}

.pillar-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
}

.pillar-text {
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  opacity: 0.8;
}


/* --- Logo --------------------------------------------------------------- */
.logo-container {
  position: fixed;
  top: 2rem;
  left: 2rem;
  z-index: 1000;
  width: 80px;
  height: 80px;
  background: rgba(248, 246, 243, 0.97);
  backdrop-filter: blur(12px);
  border: 2px solid #2a2a2a;
  padding: 0.8rem;
  box-shadow:
    5px 5px 0 rgba(150, 150, 150, 0.3),
    -2px -2px 0 rgba(64, 156, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {
  0%,
  100% {
    opacity: 0.95;
  }
  50% {
    opacity: 1;
  }
}

.logo-container:hover {
  transform: scale(1.05);
}

.logo-container picture {
  display: contents;
}

.logo-img {
  display: block;
  width: 89px;
  height: 89px;
  max-width: none;
  margin: 0 auto;
}

.logo-placeholder {
  font-size: 0.45rem;
  text-align: center;
  color: #2a2a2a;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  line-height: 1.3;
  font-family: "Montserrat", sans-serif;
}

/* --- Navigation --------------------------------------------------------- */
.nav-container {
  position: fixed;
  top: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  gap: 0;
  padding: 0.4rem;
  max-width: 90%;
}

/* Hide leftover Canva page counter UI if it ever appears */
[class*="pageCounter"],
[class*="page-counter"],
[class*="PageCounter"] {
  display: none !important;
  visibility: hidden !important;
}

.nav-link {
  background: rgba(248, 246, 243, 0.95);
  border: 2px solid #2a2a2a;
  color: #2a2a2a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 0.6rem 1.2rem;
  transition: all 0.25s ease;
  font-size: 0.6rem;
  font-family: "Montserrat", sans-serif;
  box-shadow: 2px 2px 0 rgba(150, 150, 150, 0.25);
  margin-left: -2px;
  text-decoration: none;
  display: inline-block;
}

.nav-link:first-child {
  margin-left: 0;
}

.nav-link:hover {
  color: #fff;
  background: linear-gradient(135deg, #ff00ff, #d946ef);
  border-color: #2a2a2a;
  transform: translate(-2px, -2px);
  box-shadow:
    5px 5px 0 rgba(150, 150, 150, 0.3),
    0 0 20px rgba(255, 0, 255, 0.4);
  z-index: 10;
}

.nav-link.active {
  background: linear-gradient(135deg, #ff00ff, #d946ef);
  color: #f8f6f3;
  box-shadow:
    0 0 0 2px rgba(255, 0, 255, 0.3),
    5px 5px 0 rgba(150, 150, 150, 0.3),
    0 0 25px rgba(255, 0, 255, 0.5);
}

/* --- Floating donate ---------------------------------------------------- */
.floating-donate {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  padding: 0.9rem 1.6rem;
  background: linear-gradient(135deg, #409cff, #5aafff);
  color: #f8f6f3;
  border: 2px solid #2a2a2a;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 4px 4px 0 rgba(150, 150, 150, 0.3);
  animation: donateFloat 3s ease-in-out infinite;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  display: inline-block;
}

@keyframes donateFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.floating-donate:hover {
  transform: translate(-3px, -3px) scale(1.05);
  box-shadow:
    9px 9px 0 rgba(150, 150, 150, 0.4),
    0 0 40px rgba(64, 156, 255, 0.6);
}

/* --- Contact popup ------------------------------------------------------ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-card {
  background: #fff;
  padding: 2rem;
  max-width: 420px;
  width: 90%;
  border-radius: 8px;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 1.2rem;
  border: none;
  background: none;
  cursor: pointer;
}

/* --- Utility classes (extracted from inline styles) --------------------- */
:root {
  --color-magenta: #ff00ff;
  --color-purple: #d946ef;
  --color-violet: #a855f7;
  --color-blue: #409cff;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--color-magenta) 0%,
    var(--color-purple) 50%,
    var(--color-violet) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.gradient-text-blue {
  background: linear-gradient(135deg, var(--color-magenta), var(--color-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.section-narrow {
  padding: 5rem 7%;
  max-width: 1100px;
  margin: 0 auto;
}

.section-tinted {
  background: rgba(200, 200, 200, 0.15);
  padding: 7rem 7%;
}

.section-bordered {
  padding: 6rem 7%;
  background: rgba(255, 255, 255, 0.98);
  border-top: 4px solid rgba(64, 156, 255, 0.3);
  border-bottom: 4px solid rgba(255, 0, 255, 0.3);
  position: relative;
  box-shadow:
    inset 0 4px 0 rgba(64, 156, 255, 0.1),
    inset 0 -4px 0 rgba(255, 0, 255, 0.1);
}

.page-hero {
  text-align: center;
  margin-bottom: 4.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: 3px solid #2a2a2a;
  padding: 3rem 2.5rem;
  box-shadow: 8px 8px 0 rgba(200, 200, 200, 0.3);
}

.page-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
}

.page-hero-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-blue);
  letter-spacing: -0.01em;
  margin-top: 1.5rem;
}

.prose {
  font-size: 1.1rem;
  line-height: 1.75;
  font-weight: 400;
}

.prose p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.prose ul {
  list-style: disc;
  padding-left: 20px;
}

.prose ul li {
  margin-bottom: 0.75rem;
}

.h3-magenta,
.h3-blue,
.h3-purple,
.h3-violet {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 2.5rem 0 1.5rem;
  text-transform: uppercase;
}

.h3-magenta {
  color: var(--color-magenta);
}
.h3-blue {
  color: var(--color-blue);
}
.h3-purple {
  color: var(--color-purple);
}
.h3-violet {
  color: var(--color-violet);
}

.h4-inline-magenta,
.h4-inline-blue,
.h4-inline-purple {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 2.5rem 0 1rem;
  text-transform: uppercase;
}

.h4-inline-magenta {
  color: var(--color-magenta);
}
.h4-inline-blue {
  color: var(--color-blue);
}
.h4-inline-purple {
  color: var(--color-purple);
}

.lead {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* Standalone centered gradient heading (used outside .page-hero) ---------- */
.gradient-title {
  font-size: 2.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
}

.gradient-title-bg {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin: 3rem 0 2rem;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
}

.brand-h4 {
  font-size: 1.5rem;
  text-align: center;
  font-weight: 800;
  margin: 2.5rem 0 1rem;
}

.brand-h4-magenta {
  color: var(--color-magenta);
}
.brand-h4-blue {
  color: var(--color-blue);
}
.brand-h4-purple {
  color: var(--color-purple);
}

/* Centered text-content wrappers ----------------------------------------- */
.text-center {
  text-align: center;
}

.content-narrow {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.mission-text {
  font-size: 1.4rem;
  line-height: 1.8;
  font-weight: 500;
  opacity: 0.95;
  margin: 0;
}

.img-centered {
  max-width: 70%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Headings that contain links — keep them inheriting heading style,
   no default anchor underline. */
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  text-decoration: none;
  color: inherit;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  text-decoration: none;
  opacity: 0.75;
}

/* Bilingual table -------------------------------------------------------- */
.bilingual-table {
  margin: 0 auto;
  width: 80%;
  border-collapse: collapse;
}

.bilingual-table td {
  padding: 0.5rem 1rem;
  vertical-align: top;
}

/* Evolution pathway ------------------------------------------------------- */
.evolution-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 5rem auto;
  flex-wrap: wrap;
  max-width: 1400px;
}

.evolution-step {
  text-align: center;
  padding: 2.5rem 2.8rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 2px solid #2a2a2a;
  min-width: 160px;
  transition: all 0.25s ease;
  box-shadow: 5px 5px 0 rgba(150, 150, 150, 0.25);
}

.evolution-step-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.evolution-step-sub {
  font-size: 0.85rem;
  color: var(--color-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.evolution-arrow {
  font-size: 2rem;
  color: var(--color-magenta);
  font-weight: 300;
  opacity: 0.7;
}

/* Contact / popup form --------------------------------------------------- */
.popup-title {
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  color: var(--color-magenta);
  background: linear-gradient(135deg, var(--color-magenta), var(--color-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: "Montserrat", sans-serif;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #2a2a2a;
  background: #fff;
  color: #2a2a2a;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-magenta);
  box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  padding: 0.95rem 1.2rem;
  background: linear-gradient(135deg, var(--color-magenta), var(--color-purple));
  color: #fff;
  border: 2px solid #2a2a2a;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  font-family: "Montserrat", sans-serif;
  box-shadow: 4px 4px 0 rgba(150, 150, 150, 0.3);
  margin-top: 0.5rem;
}

.contact-form button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(255, 0, 255, 0.35);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

/* Infinity divider --------------------------------------------------------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0 0;
  gap: 1.5rem;
}

.divider-spacious {
  margin: 4rem 0;
}

.divider::before,
.divider::after {
  content: "";
  height: 2px;
  flex: 1;
  max-width: 200px;
}

.divider::before {
  background: linear-gradient(to right, transparent, rgba(64, 156, 255, 0.4));
}

.divider::after {
  background: linear-gradient(to left, transparent, rgba(255, 0, 255, 0.4));
}

.divider-symbol {
  font-size: 2rem;
  color: transparent;
  background: linear-gradient(135deg, var(--color-blue), var(--color-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: rotate(90deg);
}

.divider-spacious .divider-symbol {
  font-size: 2.5rem;
}

/* Catalyst star (loom map) ------------------------------------------------- */
.catalyst-star {
  position: absolute;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: all 0.3s;
  font-size: 20px;
}


/* --- Footer ------------------------------------------------------------- */
footer {
  width: 100%;
  background: rgba(248, 246, 243, 0.98);
  color: #2a2a2a;
  border-top: 4px solid rgba(255, 0, 255, 0.3);
  padding: 4.5rem 4rem 3rem;
  position: relative;
  z-index: 1;
  max-width: 100%;
  box-shadow:
    inset 0 4px 0 rgba(255, 0, 255, 0.15),
    0 -8px 30px rgba(255, 0, 255, 0.1);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.footer-title {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: #ff00ff;
  font-family: "Montserrat", sans-serif;
}

.footer-tagline {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  color: #409cff;
  font-family: "Montserrat", sans-serif;
}

.footer-chinese {
  font-size: 1.8rem;
  color: #409cff;
  margin-top: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.15em;
}

.footer-legal {
  font-size: 0.85rem;
  opacity: 0.65;
  line-height: 1.65;
  margin-top: 3rem;
}


/* --- Responsive --------------------------------------------------------- */
@media (max-width: 768px) {
  main {
    padding-top: 100px;
  }

  .logo-container {
    width: 60px;
    height: 60px;
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.5rem;
  }

  .logo-placeholder {
    font-size: 0.4rem;
  }

  .nav-container {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    max-width: 100%;
    border-top: 3px solid #2a2a2a;
    background: rgba(248, 246, 243, 0.98);
    backdrop-filter: blur(12px);
    padding: 0.5rem;
    justify-content: space-around;
    box-shadow: 0 -6px 12px rgba(42, 42, 42, 0.2);
    z-index: 1001;
  }

  .nav-link {
    padding: 0.6rem 0.4rem;
    font-size: 0.5rem;
    border: 2px solid #2a2a2a;
    flex: 1;
    text-align: center;
    min-width: 0;
    margin-left: 3px;
  }

  .nav-link:first-child {
    margin-left: 0;
  }

  .floating-donate {
    bottom: 4.5rem;
    right: 0.8rem;
    padding: 0.7rem 1.2rem;
    font-size: 0.55rem;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 4%;
  }

  .hero-title {
    font-size: 2.2rem;
  }
  .hero-chinese {
    font-size: 1.6rem;
  }
  .hero-right {
    padding: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .hero-description {
    font-size: 0.95rem;
  }

  .cta-button {
    padding: 1rem 1.8rem;
    font-size: 0.7rem;
  }

  .section-full {
    padding: 3rem 4%;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
  }

  .section-intro {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }

  .three-pillars {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .pillar-item {
    padding: 1.8rem 1.5rem;
  }
  .pillar-title {
    font-size: 1.3rem;
  }
  .pillar-text {
    font-size: 0.9rem;
  }

  footer {
    padding: 2.5rem 4% 1.8rem;
  }

  .footer-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }
  .footer-tagline {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }
  .footer-chinese {
    font-size: 1.3rem;
    margin-top: 0.8rem;
  }
  .footer-legal {
    font-size: 0.75rem;
    margin-top: 1.5rem;
  }

  .section-narrow {
    padding: 2.5rem 5%;
  }
  .section-tinted {
    padding: 3rem 4%;
  }
  .section-bordered {
    padding: 3rem 4%;
  }

  .page-hero {
    padding: 1.8rem 1.2rem;
    margin-bottom: 2.5rem;
  }
  .page-hero-title {
    font-size: 1.6rem;
  }
  .page-hero-subtitle {
    font-size: 1rem;
  }

  .gradient-title {
    font-size: 1.8rem;
  }
  .gradient-title-bg {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
  }

  .prose {
    font-size: 0.98rem;
  }
  .prose p {
    margin-bottom: 1.2rem;
  }

  .mission-text {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .brand-h4 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
  }
  .h3-magenta,
  .h3-blue,
  .h3-purple,
  .h3-violet,
  .h4-inline-magenta,
  .h4-inline-blue,
  .h4-inline-purple {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.8rem;
  }

  .evolution-row {
    gap: 0.8rem;
    margin: 2rem auto;
  }
  .evolution-step {
    padding: 1.1rem 1rem;
    min-width: 0;
    flex: 1 1 calc(50% - 1rem);
  }
  .evolution-step-title {
    font-size: 0.9rem;
  }
  .evolution-step-sub {
    font-size: 0.75rem;
  }
  .evolution-arrow {
    display: none;
  }

  .img-centered {
    max-width: 100%;
  }

  .bilingual-table {
    width: 100%;
  }
  .bilingual-table td {
    display: block;
    width: 100%;
    padding: 0.4rem 0;
  }

  .popup-card {
    padding: 1.5rem;
    width: 92%;
  }
  .popup-title {
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
    padding: 0.75rem 0.9rem;
  }
  .contact-form button {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
  }

  .divider {
    margin: 1.8rem 0 0;
    gap: 0.8rem;
  }
  .divider-spacious {
    margin: 2rem 0;
  }
  .divider::before,
  .divider::after {
    max-width: 90px;
  }
}

