@font-face {
  font-family: "Noto Sans Thai";
  src: url("assets/NotoSansThai-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Thai";
  src: url("assets/NotoSansThai-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #173b4a;
  --body: #435b65;
  --brand-blue: #4ab7d0;
  --teal: #13617c;
  --teal-deep: #0d5067;
  --yellow: #ffcc00;
  --cream: #fbf9f0;
  --mint: #e9f7fb;
  --white: #fffefa;
  --line: #cfe5ed;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html.switching-language {
  overflow-anchor: none;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
}

h1, h2, h3, h4, p, figure {
  margin: 0;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.4;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.85rem, 3.3vw, 2.6rem);
}
h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}
p, li {
  color: var(--body);
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, summary {
  font: inherit;
}
button, a, summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 5px;
}
[id] {
  scroll-margin-top: 110px;
}

.wrap {
  width: min(1180px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  padding-block: clamp(56px, 6vw, 88px);
}

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 30;
  transform: translateY(calc(-100% - 16px));
  padding: 12px 20px;
  background: var(--yellow);
}

.skip:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--cream);
  border-bottom: 1px solid #e6e6d9;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  line-height: 1.4;
  flex-shrink: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 10px;
}
.brand strong {
  display: block;
  font-size: 1rem;
}
.brand small {
  display: block;
  color: var(--body);
  font-size: .78rem;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}
.desktop-nav a {
  padding-block: 10px;
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}
.desktop-nav a:hover, .text-link:hover, .language-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.language-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-size: .85rem;
  white-space: nowrap;
  color: var(--teal);
}
.mobile-menu {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 22px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 700;
  transition: background-color .18s, border-color .18s;
}

.button-outline {
  border-color: #93bac9;
}
.button-outline:hover {
  background: var(--mint);
  border-color: var(--teal);
}
.button-primary {
  color: white;
  background: var(--teal);
}
.button-primary:hover {
  background: var(--teal-deep);
}
.button-yellow {
  color: var(--ink);
  background: var(--yellow);
}
.button-yellow:hover {
  background: #ffe282;
}
.button span, .text-link span {
  font-family: Arial, sans-serif;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 700;
  font-size: .94rem;
}

.hero {
  padding-block: clamp(48px, 6vw, 84px);
  background: var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 4vw, 60px);
}
.hero-copy, .hero-media {
  min-width: 0;
}
.eyebrow {
  margin-bottom: 9px;
  color: var(--teal);
  font-weight: 700;
  font-size: .87rem;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: .76rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.1vw, 3.6rem);
  line-height: 1.3;
  letter-spacing: -.025em;
}
.hero h1 span {
  color: var(--teal);
}
html[lang="en"] .hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
}
.hero-description {
  margin-top: 20px;
  max-width: 520px;
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 26px;
}
.hero-media {
  position: relative;
  padding-top: 12px;
}
.hero-image {
  aspect-ratio: 1.5;
  border-radius: 24px 64px 24px 24px;
  box-shadow: 10px 12px 0 var(--yellow);
  background: #d1eef6;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-media figcaption {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 28px;
  font-size: .78rem;
  color: var(--body);
}
.hero-media figcaption span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: 30px;
}
.section-intro > p {
  max-width: 480px;
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.mission-card {
  padding: 28px;
  background: var(--mint);
  border-radius: var(--radius);
}
.mission-card:nth-child(even) {
  background: #fcf3d7;
}
.mission-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #d0edf5;
  color: var(--teal-deep);
}
.mission-card:nth-child(even) .mission-icon {
  background: #fae8a9;
}
.mission-card ul, .profile-copy ul, .goals ul {
  margin: 12px 0 0;
  padding-inline-start: 1.15em;
}
.mission-card li + li, .profile-copy li + li, .goals li + li {
  margin-top: 8px;
}
li::marker {
  color: var(--teal);
}
.mission-card li {
  font-size: .95rem;
}
.icon-awareness i {
  width: 23px;
  height: 16px;
  border: 2px solid;
  border-radius: 50% 56% 50% 56%;
  transform: rotate(-8deg);
}
.icon-awareness i::after {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  margin: 3px auto;
}
.icon-family i {
  width: 14px;
  height: 14px;
  position: relative;
  transform: translateY(3px) rotate(-45deg);
  border-radius: 1px;
  background: currentColor;
}
.icon-family i::before, .icon-family i::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: currentColor;
  border-radius: 50%;
}
.icon-family i::before {
  top: -7px;
  left: 0;
}
.icon-family i::after {
  top: 0;
  left: 7px;
}
.icon-funds i {
  width: 23px;
  height: 16px;
  border: 2px solid;
  border-radius: 3px;
  position: relative;
  top: 3px;
}
.icon-funds i::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  right: 4px;
  border-top: 2px solid;
}
.icon-funds i::after {
  content: "";
  position: absolute;
  top: -11px;
  left: 6px;
  width: 7px;
  height: 8px;
  border: 2px solid;
  border-radius: 50%;
  background: #d0edf5;
}
.icon-network i {
  width: 19px;
  height: 15px;
  transform: translateY(3px);
  border: 2px solid;
  border-radius: 8px;
}
.icon-network i::before, .icon-network i::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  top: -9px;
}
.icon-network i::before {
  left: 0;
}
.icon-network i::after {
  right: 0;
}


.timeline-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 36px;
  margin-top: 48px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}
.timeline-layout > * {
  min-width: 0;
}

.goals {
  grid-template-columns: 1.2fr 1fr;
}
.goals h3 {
  margin-bottom: 14px;
}
.goals > div {
  min-width: 0;
}
.goals li {
  font-size: .95rem;
}
.goals ul.sdgs {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.sdgs li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding: 10px 14px;
  background: var(--mint);
  border-radius: 10px;
}
.sdgs strong {
  font-size: .88rem;
  color: var(--teal);
}

.about {
  background: var(--cream);
}
.profiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 40px;
}
.profile {
  min-width: 0;
  padding-inline: 6px;
}
.profile-heading {
  position: relative;
  isolation: isolate;
  height: 360px;
  border-radius: 28px 28px 8px 28px;
  background: var(--brand-blue);
  transform: rotate(-2deg);
  box-shadow: 7px 9px 0 #173a3e12;
}
.profile-heading::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 34px 7% 0 28%;
  border-radius: 48% 48% 0 0;
  background: #b9e9f3;
  transform: rotate(8deg);
}
.profile:nth-child(even) .profile-heading {
  background: var(--yellow);
  border-radius: 28px 28px 28px 8px;
  transform: rotate(2deg);
}
.profile:nth-child(even) .profile-heading::before {
  background: #ffe9a2;
  transform: rotate(-8deg);
}
.profile-role {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 22px;
  max-width: calc(100% - 80px);
  padding: 6px 16px;
  border: 1px solid #173a3e20;
  border-radius: 30px;
  background: var(--cream);
  color: var(--ink);
  font-size: .85rem;
  font-weight: 700;
  transform: rotate(-3deg);
}
.profile-heading h3 {
  position: absolute;
  z-index: 3;
  left: 20px;
  bottom: 22px;
  padding: 0 16px 3px;
  background: var(--cream);
  color: var(--ink);
  font-size: clamp(3.25rem, 6vw, 4.8rem);
  line-height: 1.15;
  letter-spacing: -.055em;
  transform: rotate(-5deg);
  box-shadow: 3px 4px 0 #173a3e18;
}
.profile:nth-child(even) h3 {
  transform: rotate(3deg);
}
.profile-smile {
  position: absolute;
  top: 105px;
  left: 36px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  transform: rotate(-16deg);
}
.profile:nth-child(even) .profile-smile {
  background: var(--teal);
  color: var(--cream);
  transform: rotate(13deg);
}
.profile-smile::before, .profile-smile::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 5px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.profile-smile::before {
  left: 21px;
}
.profile-smile::after {
  right: 21px;
}
.profile-smile i {
  position: absolute;
  left: 19px;
  top: 30px;
  width: 30px;
  height: 18px;
  border: 3px solid currentColor;
  border-top: 0;
  border-radius: 0 0 30px 30px;
}
.profile-spark {
  position: absolute;
  z-index: 3;
  top: 9px;
  right: 20px;
  color: var(--yellow);
  font-size: 3rem;
  line-height: 1.2;
  transform: rotate(12deg);
}
.profile:nth-child(even) .profile-spark {
  color: var(--teal);
}
.profile-photo {
  position: absolute;
  right: 1%;
  bottom: 0;
  width: 72%;
  height: 100%;
  padding-top: 8px;
  overflow: hidden;
  border-radius: 0 0 12px 0;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(3px 0 0 var(--cream)) drop-shadow(-3px 0 0 var(--cream));
}
.profile-copy {
  padding: 30px 10px 0;
}
.profile-name {
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.profile-copy > p:not(.profile-name), .profile-copy li {
  font-size: .95rem;
}
.profile-copy ul {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 20px 0 0;
  margin: 20px 0 0;
  border-top: 1px dashed #93bac9;
}
.profile-copy li {
  position: relative;
  margin: 0;
  padding-left: 26px;
}
.profile-copy li::before {
  content: "✦";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--teal);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 48px;
  max-width: 980px;
  margin: 56px auto 0;
}
.legacy {
  width: 100%;
  max-width: 300px;
}
.legacy img {
  width: 100%;
  height: auto;
  aspect-ratio: 505 / 640;
  border-radius: 18px 54px 18px 18px;
  object-fit: contain;
}
.legacy figcaption {
  margin-top: 10px;
  color: var(--body);
  font-size: .8rem;
}
.origin h3 {
  margin-bottom: 14px;
}
.story-photos {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.story-photos a {
  display: block;
  width: 136px;
  min-width: 0;
  background: #e4f1f6;
  border-radius: 10px;
}
.story-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: inherit;
}
.logo-story {
  padding: 28px;
  background: var(--mint);
  border-radius: var(--radius);
}
.logo-story h3 {
  margin-bottom: 14px;
}
.timeline {
  list-style: none;
  margin: 22px 0 0 5px;
  padding: 0;
}
.timeline li {
  position: relative;
  padding: 0 0 22px 24px;
  border-inline-start: 2px solid #9aceda;
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline li::before {
  position: absolute;
  content: "";
  top: 7px;
  left: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}
.timeline strong {
  display: block;
  font-size: .94rem;
  color: var(--teal-deep);
  margin-bottom: 4px;
}
.timeline p {
  font-size: .95rem;
}

.activities h2 {
  margin-bottom: 20px;
}
.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.section-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--teal-deep);
}
.section-links a:hover {
  background: var(--mint);
}
.event-year {
  margin-top: 44px;
}
.year-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.year-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.event-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.event-cover {
  display: block;
  background: #edf6f9;
  border-radius: 21px 21px 0 0;
}
.event-cover img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: inherit;
}
.event-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}
.event-copy time {
  display: block;
  margin-bottom: 8px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--teal);
}
.event-copy h4 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  text-wrap: pretty;
}
.event-copy > p {
  margin-bottom: 18px;
  font-size: .95rem;
}
.event-copy > p:last-child {
  margin-bottom: 0;
}
.event-story {
  background: var(--mint);
}
.event-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.event-feature .event-cover {
  border-radius: 21px 0 0 21px;
  display: grid;
  align-items: center;
}
.event-feature .event-copy {
  align-self: center;
  padding: 32px;
}

summary {
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}
.event-gallery {
  margin-top: auto;
  border-top: 1px solid var(--line);
}
.event-gallery summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--teal-deep);
}
.event-gallery summary:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.event-gallery summary span {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--mint);
  font-size: .83rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.gallery-grid a {
  border-radius: 8px;
  background: #edf6f9;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: inherit;
}
.plan {
  margin-top: 52px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--mint);
}
.plan > p {
  margin-top: 8px;
  font-size: .92rem;
}
.plan .timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(var(--plan-rows), auto);
  grid-auto-flow: column;
  gap: 28px 32px;
  margin-top: 28px;
}
.plan .timeline li {
  padding-bottom: 0;
}

.collaborators {
  background: var(--cream);
  padding-block: 48px;
}
.collaborators-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 36px;
}
.collaborators h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.collaborators p {
  font-size: .95rem;
}
.organization-list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.organization-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  line-height: 1.65;
}
.organization-list img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}
.organization-list small {
  font-size: .83rem;
  font-weight: 400;
}
.join {
  padding-block: 56px;
}
.join-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr);
  align-items: center;
  gap: 40px;
  padding: clamp(28px, 4.5vw, 60px);
  background: #0e5660;
  border-radius: 26px;
}
.join-copy h2, .join-copy p {
  color: var(--white);
}
.join-copy > p:first-of-type {
  max-width: 500px;
  margin: 18px 0 24px;
}
.join-copy .social-handle {
  margin-top: 16px;
  font-size: .9rem;
}
.join-copy .social-platforms {
  margin-top: 5px;
  font-size: .82rem;
  color: #d8e9e5;
}
.join-panel :focus-visible {
  outline-color: var(--yellow);
}
.join-art {
  position: relative;
  width: 100%;
  max-width: 270px;
  aspect-ratio: 1;
  justify-self: center;
}
.join-art::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: var(--yellow);
  transform: rotate(-8deg) translate(-7px, -4px);
}
.join-art::after {
  content: "";
  position: absolute;
  top: -22px;
  right: -27px;
  width: 42px;
  height: 42px;
  background: var(--cream);
  clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
  transform: rotate(12deg);
}
.join-art img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 8px solid var(--cream);
  border-radius: 26px;
  background: var(--brand-blue);
  box-shadow: 0 12px 22px #06333a40;
  transform: rotate(12deg);
}
.site-footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 100px;
  padding-block: 20px;
}

.photo-dialog {
  width: max-content;
  max-width: min(calc(100% - 32px), 1100px);
  max-height: calc(100dvh - 32px);
  padding: 16px;
  border: 0;
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
}
.photo-dialog::backdrop {
  background: #132d34d9;
}
.photo-dialog form {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.photo-dialog button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--mint);
  font-size: 1.5rem;
  color: var(--ink);
  cursor: pointer;
}
.photo-dialog img {
  width: auto;
  max-height: calc(100dvh - 190px);
  object-fit: contain;
  margin-inline: auto;
}
.photo-dialog figcaption {
  margin-top: 12px;
  max-width: 70ch;
  font-size: .88rem;
}
body:has(.photo-dialog[open]) {
  overflow: hidden;
}

@media (max-width: 1000px) {
  .header-inner {
    min-height: 74px;
  }
  .desktop-nav, .header-cta {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #93bac9;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
  }
  .mobile-menu summary span {
    display: block;
    width: 12px;
    height: 8px;
    border-block: 1px solid;
  }
  .mobile-menu[open] summary {
    background: var(--mint);
  }
  .mobile-menu nav {
    position: absolute;
    z-index: 1;
    top: calc(100% + 8px);
    right: 0;
    width: min(320px, 100%);
    padding: 10px;
    display: grid;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 12px 32px #173a3e24;
  }
  .mobile-menu nav a {
    padding: 12px 16px;
    min-height: 48px;
    border-radius: 8px;
  }
  .mobile-menu nav a:hover {
    background: var(--mint);
  }
  .hero-grid {
    gap: 30px;
  }
  .profile-heading {
    height: 320px;
  }
  .mission-card {
    padding: 24px;
  }
  .event-copy {
    padding: 22px;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .hero-copy {
    max-width: 620px;
  }
  .hero-description {
    max-width: 600px;
  }
  .hero-media {
    width: calc(100% - 10px);
    max-width: 620px;
  }
  .hero h1, html[lang="en"] .hero h1 {
    font-size: clamp(2.25rem, 6.4vw, 3.25rem);
  }
  .section-intro {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .section-intro > p {
    max-width: 640px;
  }
  .timeline-layout {
    gap: 26px;
  }
  .about-grid {
    gap: 30px;
  }
  .event-feature {
    display: flex;
    grid-column: auto;
  }
  .event-feature .event-cover {
    border-radius: 21px 21px 0 0;
    display: block;
  }
  .event-feature .event-copy {
    align-self: stretch;
    padding: 22px;
  }
  .collaborators-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .organization-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .organization-list li {
    align-items: flex-start;
    font-size: .9rem;
  }
}

@media (max-width: 680px) {
  .mission-grid, .profiles, .event-grid, .timeline-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .section {
    padding-block: 52px;
  }
  .hero {
    padding-block: 42px 52px;
  }
  .header-inner {
    gap: 12px;
    min-height: 70px;
  }
  .brand {
    gap: 8px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .brand strong {
    font-size: .88rem;
  }
  .brand small {
    font-size: .72rem;
  }
  .header-actions {
    gap: 10px;
  }
  .language-link {
    font-size: .8rem;
  }
  .mobile-menu summary {
    padding: 8px 11px;
    font-size: .8rem;
  }
  .hero-description {
    font-size: 1rem;
    margin-top: 16px;
  }
  .hero-actions {
    gap: 8px 16px;
    margin-top: 22px;
  }
  .hero-media figcaption {
    font-size: .76rem;
  }
  .mission-grid, .event-grid {
    gap: 20px;
  }
  .profiles {
    gap: 44px;
  }
  .mission-card {
    padding: 24px;
  }
  .mission-card h3 {
    font-size: 1.3rem;
  }
  .timeline-layout {
    margin-top: 34px;
    padding-top: 28px;
    gap: 32px;
  }
  .profile-heading {
    height: 340px;
  }
  .profile-heading h3 {
    font-size: clamp(3.4rem, 12vw, 4.8rem);
  }
  .profile-copy {
    padding: 28px 4px 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 40px;
  }
  .legacy {
    max-width: 250px;
    margin-inline: auto;
  }
  .logo-story {
    padding: 24px;
  }
  .event-year {
    margin-top: 32px;
  }
  .event-copy, .event-feature .event-copy {
    padding: 22px;
  }
  .event-copy h4 {
    font-size: 1.15rem;
  }
  .section-links {
    gap: 8px;
  }
  .section-links a {
    padding: 7px 12px;
    font-size: .85rem;
  }
  .plan {
    padding: 24px;
    margin-top: 36px;
  }
  .plan .timeline {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 24px;
  }
  .organization-list {
    grid-template-columns: 1fr;
  }
  .join {
    padding-block: 36px;
  }
  .join-panel {
    grid-template-columns: 1fr;
    padding: 30px 24px;
    border-radius: 22px;
  }
  .join-copy h2 {
    font-size: 1.9rem;
  }
  .join-art {
    max-width: 180px;
    margin-block: 12px;
  }
  .footer-inner {
    gap: 16px;
    flex-wrap: wrap;
    min-height: 90px;
  }
  .footer-inner .text-link {
    font-size: .82rem;
  }
}

@media (max-width: 360px) {
  :root {
    --gutter: 16px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .brand strong {
    font-size: .8rem;
  }
  .brand small {
    font-size: .68rem;
  }
  .brand {
    gap: 6px;
  }
  .header-inner {
    gap: 8px;
  }
  .header-actions {
    gap: 8px;
  }
  .mobile-menu summary {
    padding-inline: 8px;
  }
  .mobile-menu summary span {
    display: none;
  }
  .hero h1, html[lang="en"] .hero h1 {
    font-size: 2.1rem;
  }
  .mission-card, .logo-story, .plan {
    padding: 20px;
  }
  .profile-heading {
    height: 300px;
  }
  .profile-heading h3 {
    left: 14px;
    font-size: 3.2rem;
  }
  .profile-role {
    left: 16px;
    padding-inline: 12px;
  }
  .profile-smile {
    left: 24px;
  }
  .event-copy, .event-feature .event-copy {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
