/* Asia Partners - Custom Styles
   Mobile-first responsive approach
   Breakpoints: sm(640) md(768) lg(1024) xl(1280) */

/* ============================================
   BASE & RESET
   ============================================ */

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

* {
  -webkit-tap-highlight-color: transparent;
}

/* ============================================
   FULLSCREEN SNAP SCROLL
   ============================================ */

.snap-container {
  height: 100vh;
  height: 100dvh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.snap-container::-webkit-scrollbar {
  width: 0;
  display: none;
}

.snap-section {
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
}

/* Footer & Mission on mobile: scrollable within snap viewport */
@media (max-width: 639px) {

  footer.snap-section,
  .mission-split-section {
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  /* Compact footer on mobile */
  footer.snap-section .h-full {
    min-height: auto;
  }

  footer.snap-section .grid {
    gap: 1.5rem;
  }

  footer.snap-section img {
    height: 3.5rem;
    margin-bottom: 0.75rem;
  }

  /* Hide long description in footer on mobile — it's repeated from About */
  footer.snap-section .lg\:col-span-1>p {
    display: none;
  }

  footer.snap-section .flex.space-x-3 {
    margin-top: 0;
  }

  footer.snap-section .flex.space-x-3 a {
    width: 2rem;
    height: 2rem;
  }

  footer.snap-section .flex.space-x-3 a i {
    font-size: 0.75rem;
  }

  footer.snap-section ul {
    gap: 0;
  }

  footer.snap-section .space-y-3>li,
  footer.snap-section .space-y-4>li {
    margin-top: 0.5rem;
  }

  footer.snap-section .space-y-5>li+li {
    margin-top: 0.75rem;
  }

  footer.snap-section .border-t {
    padding: 0;
  }

  footer.snap-section .border-t .py-5 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  footer.snap-section .max-w-7xl {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
  }
}

/* ============================================
   NAVIGATION DOTS — mobile first
   ============================================ */

.snap-nav {
  position: fixed;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.snap-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(100, 100, 100, 0.3);
  border: 1.5px solid rgba(100, 100, 100, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  position: relative;
}

/* Larger tap target for touch */
.snap-dot::before {
  content: '';
  position: absolute;
  inset: -8px;
}

.snap-dot:hover {
  background: rgba(100, 100, 100, 0.6);
  transform: scale(1.2);
}

.snap-dot.active {
  background: #2B8AC4;
  border-color: #2B8AC4;
  transform: scale(1.3);
}

@media (min-width: 768px) {
  .snap-nav {
    right: 20px;
    gap: 10px;
  }

  .snap-dot {
    width: 10px;
    height: 10px;
    border-width: 2px;
  }
}

/* Dark section dots */
.snap-nav.dark-section .snap-dot {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.snap-nav.dark-section .snap-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.snap-nav.dark-section .snap-dot.active {
  background: #5CADDF;
  border-color: #5CADDF;
}

/* Light section dots */
.snap-nav.light-section .snap-dot {
  background: rgba(50, 50, 50, 0.3);
  border-color: rgba(50, 50, 50, 0.5);
}

.snap-nav.light-section .snap-dot:hover {
  background: rgba(50, 50, 50, 0.6);
}

.snap-nav.light-section .snap-dot.active {
  background: #2B8AC4;
  border-color: #2B8AC4;
}

/* ============================================
   VIDEO PLACEHOLDER (animated Ken Burns)
   ============================================ */

.video-placeholder {
  overflow: hidden;
}

.video-placeholder__image {
  transform-origin: center center;
  will-change: transform;
}

/* Disable animations on mobile for performance */
@media (max-width: 767px) {
  .video-placeholder__image {
    transform: scale(1.1);
    animation: none;
  }
}

@media (min-width: 768px) {
  .video-placeholder__image {
    animation: videoPlaceholderKenBurns 20s ease-in-out infinite alternate;
  }

  .video-placeholder--hero .video-placeholder__image {
    animation-name: videoPlaceholderHero;
    animation-duration: 25s;
  }

  .video-placeholder--partners .video-placeholder__image {
    animation-name: videoPlaceholderPartners;
    animation-duration: 30s;
  }
}

@keyframes videoPlaceholderHero {
  0% {
    transform: scale(1.15) translate(2%, 3%);
  }

  50% {
    transform: scale(1.25) translate(-2%, -1%);
  }

  100% {
    transform: scale(1.18) translate(1%, -2%);
  }
}

@keyframes videoPlaceholderPartners {
  0% {
    transform: scale(1.12) translate(3%, 0%);
  }

  50% {
    transform: scale(1.22) translate(-3%, 1%);
  }

  100% {
    transform: scale(1.15) translate(1%, -1%);
  }
}

@keyframes videoPlaceholderKenBurns {
  0% {
    transform: scale(1.1) translate(1%, 1%);
  }

  100% {
    transform: scale(1.2) translate(-1%, -1%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-placeholder__image {
    animation: none;
    transform: scale(1.05);
  }
}

/* ============================================
   HERO SCROLL INDICATOR
   ============================================ */

@keyframes scroll {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(6px);
    opacity: 0.5;
  }
}

.animate-scroll {
  animation: scroll 1.5s ease-in-out infinite;
}

/* Hide scroll indicator on short screens */
@media (max-height: 600px) {
  .scroll-indicator-wrapper {
    display: none;
  }
}

/* ============================================
   DIRECTIONS SECTION — Mobile first
   ============================================ */

.directions-fullscreen {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  width: 100%;
}

/* Image area — mobile: top portion */
.directions-image-area {
  position: relative;
  width: 100%;
  height: 28vh;
  height: 28dvh;
  min-height: 140px;
  overflow: hidden;
  flex-shrink: 0;
}

.direction-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.direction-bg-image.active {
  opacity: 1;
}

/* Overlay: on mobile gradient goes top-to-bottom */
.directions-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, #111827, transparent);
  pointer-events: none;
}

/* Info area — mobile: bottom portion */
.directions-info-area {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1rem 1rem;
  position: relative;
  overflow: hidden;
}

.directions-header {
  margin-bottom: 0.75rem;
}

.directions-header h2 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.directions-header span {
  font-size: 0.7rem;
}

/* Progress bar */
.directions-progress-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.progress-track {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 11.11%;
  background: linear-gradient(90deg, #2B8AC4, #5CADDF);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.progress-counter {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-weight: 600;
}

.progress-current {
  font-size: 1.25rem;
  color: white;
  line-height: 1;
}

.progress-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
}

.progress-total {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Single card container */
.directions-single-card {
  position: relative;
  flex: 1;
  min-height: 0;
  margin-bottom: 0.5rem;
}

.direction-card-single {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.direction-card-single.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.direction-card-single.exit-up {
  opacity: 0;
  transform: translateY(-20px);
}

.direction-card-single.exit-down {
  opacity: 0;
  transform: translateY(20px);
}

/* Mobile: photo on top, text below */
.direction-card-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

/* Circle photo */
.direction-circle-photo {
  position: relative;
  flex-shrink: 0;
  width: 96px;
  height: 96px;
}

.circle-gradient {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  opacity: 0.6;
}

.circle-image {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.direction-text {
  flex: 1;
  min-width: 0;
}

.direction-number {
  font-size: 0.7rem;
  font-weight: 600;
  color: #5CADDF;
  margin-bottom: 0.2rem;
  letter-spacing: 0.1em;
}

.direction-title {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.3rem;
  line-height: 1.25;
}

.direction-description {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  white-space: pre-line;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Nav arrows — mobile */
.directions-nav {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-shrink: 0;
}

.dir-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.dir-nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
}

.dir-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Scroll hint — hidden on mobile */
.directions-scroll-hint {
  display: none;
}

/* ---- Directions TABLET+ (1024px) ---- */
@media (min-width: 1024px) {
  .directions-fullscreen {
    flex-direction: row;
  }

  .directions-image-area {
    width: 50%;
    height: 100%;
  }

  .directions-image-overlay {
    width: 40%;
    height: 100%;
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    background: linear-gradient(to right, transparent, #111827);
  }

  .directions-info-area {
    width: 50%;
    height: 100%;
    flex: none;
    padding: 3rem;
    padding-top: 100px;
    justify-content: center;
  }

  .directions-header {
    margin-bottom: 2rem;
  }

  .directions-header h2 {
    font-size: 2.5rem;
  }

  .directions-header span {
    font-size: 0.875rem;
  }

  .directions-progress-bar {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .progress-current {
    font-size: 2rem;
  }

  .progress-divider,
  .progress-total {
    font-size: 1.25rem;
  }

  .directions-single-card {
    height: 260px;
    flex: none;
    margin-bottom: 2rem;
  }

  .direction-card-single {
    align-items: center;
  }

  .direction-card-inner {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }

  .direction-circle-photo {
    width: 160px;
    height: 160px;
  }

  .circle-gradient {
    inset: -6px;
  }

  .circle-image {
    border-width: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }

  .direction-number {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }

  .direction-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  .direction-description {
    font-size: 1.05rem;
    line-height: 1.7;
    -webkit-line-clamp: unset;
    display: block;
  }

  .directions-nav {
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .dir-nav-btn {
    width: 48px;
    height: 48px;
  }

  .dir-nav-btn:hover:not(:disabled) {
    transform: scale(1.1);
  }

  .directions-scroll-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
  }

  .directions-scroll-hint i {
    animation: bounce-scroll 1.5s infinite;
  }
}

/* ---- Directions medium tablet (640-1023) ---- */
@media (min-width: 640px) and (max-width: 1023px) {
  .directions-image-area {
    height: 38vh;
    height: 38dvh;
    min-height: 220px;
  }

  .directions-info-area {
    padding: 1.5rem 2rem;
    justify-content: center;
  }

  .directions-header {
    margin-bottom: 1rem;
  }

  .directions-header h2 {
    font-size: 1.85rem;
  }

  .direction-circle-photo {
    width: 120px;
    height: 120px;
  }

  .direction-card-inner {
    gap: 1.5rem;
  }

  .direction-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .direction-description {
    font-size: 0.9rem;
    -webkit-line-clamp: 5;
  }

  .directions-single-card {
    margin-bottom: 1rem;
  }

  .progress-current {
    font-size: 1.5rem;
  }

  .progress-divider,
  .progress-total {
    font-size: 1rem;
  }
}

@keyframes bounce-scroll {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

/* ============================================
   KAZAKHSTAN MAP
   ============================================ */

.kazakhstan-map-container {
  position: relative;
}

.kazakhstan-map-container svg {
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.map-country {
  transition: all 0.3s ease;
}

.map-region {
  transition: all 0.3s ease;
}

.map-pin {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.map-label {
  font-family: 'Inter', sans-serif;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  font-size: 9px;
}

@media (min-width: 768px) {
  .map-region:hover {
    fill: rgba(59, 130, 246, 0.5);
    stroke: rgba(96, 165, 250, 0.9);
  }

  .map-pin:hover {
    transform: translateY(-3px);
  }

  .map-label {
    font-size: 12px;
  }
}

@media (max-width: 1023px) {
  .kazakhstan-map-container {
    margin-top: 1rem;
  }
}

/* ============================================
   PARTNERS SECTION
   ============================================ */

.partners-bg-animate {
  animation: kenBurns 25s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }

  25% {
    transform: scale(1.1) translate(-2%, -1%);
  }

  50% {
    transform: scale(1.15) translate(-1%, -2%);
  }

  75% {
    transform: scale(1.1) translate(1%, -1%);
  }

  100% {
    transform: scale(1) translate(0, 0);
  }
}

/* ============================================
   PORTFOLIO
   ============================================ */

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
  }
}

.portfolio-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.portfolio-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card-content {
  padding: 1rem;
}

@media (min-width: 768px) {
  .portfolio-card-content {
    padding: 1.5rem;
  }
}

.portfolio-card-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(43, 138, 196, 0.1);
  color: #2B8AC4;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.portfolio-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .portfolio-card-title {
    font-size: 1.25rem;
  }
}

.portfolio-card-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.portfolio-card-description {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.6;
}

.portfolio-card-year {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #6b7280;
}

.portfolio-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.portfolio-filters::-webkit-scrollbar {
  display: none;
}

.portfolio-filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: #f3f4f6;
  color: #4b5563;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  .portfolio-filter-btn {
    font-size: 0.875rem;
    padding: 0.5rem 1.5rem;
  }
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.active {
  background: #2B8AC4;
  color: white;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.header-scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

.delay-500 {
  animation-delay: 500ms;
}

.delay-1000 {
  animation-delay: 1000ms;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: #2B8AC4;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@supports not (backdrop-filter: blur(8px)) {
  .backdrop-blur-sm {
    background-color: rgba(255, 255, 255, 0.95);
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #2B8AC4;
  outline-offset: 2px;
}

/* ============================================
   MOBILE MENU — smooth slide-down
   ============================================ */

#mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

#mobile-menu.open {
  max-height: 80vh;
  opacity: 1;
}

/* ============================================
   ADMIN PANEL
   ============================================ */

.admin-sidebar {
  transition: transform 0.3s ease;
}

.admin-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 40;
}

@media (max-width: 1024px) {
  .admin-sidebar {
    transform: translateX(-100%);
    z-index: 50;
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-overlay.open {
    display: block;
  }

  .admin-main {
    margin-left: 0;
    padding: 1rem;
  }

  .admin-main table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-main table thead,
  .admin-main table tbody {
    min-width: 600px;
  }

  .admin-main .grid-cols-2,
  .admin-main .grid-cols-3 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   LANDSCAPE MOBILE
   ============================================ */

@media (max-height: 500px) and (orientation: landscape) {
  .snap-section {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 1rem;
  }

  .directions-fullscreen {
    flex-direction: row;
  }

  .directions-image-area {
    width: 40%;
    height: 100%;
  }

  .directions-info-area {
    width: 60%;
    padding: 1rem;
  }
}

/* ============================================
   TOUCH DEVICES
   ============================================ */

@media (hover: none) and (pointer: coarse) {
  .portfolio-card:hover {
    transform: none;
  }

  .map-region:hover {
    fill: rgba(59, 130, 246, 0.35);
  }

  /* Ensure minimum tap target sizes */
  .dir-nav-btn {
    min-width: 44px;
    min-height: 44px;
  }
}

/* ============================================
   SECTION 1 — ABOUT (Redesign: Magazine Asymmetry + Glassmorphism)
   ============================================ */

.about-giant-number {
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 180px;
  font-weight: 900;
  color: #f3f4f6;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

@media (min-width: 1024px) {
  .about-giant-number {
    font-size: 250px;
    left: -20px;
  }
}

.about-text-content {
  position: relative;
  z-index: 10;
}

.about-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2B8AC4;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .about-link-arrow {
    font-size: 1rem;
  }
}

.about-link-arrow:hover {
  gap: 0.875rem;
  color: #1a6fa0;
}

.about-link-arrow .arrow-icon {
  transition: transform 0.3s ease;
  font-size: 1em;
}

.about-link-arrow:hover .arrow-icon {
  transform: translateX(4px);
}

/* Portrait photo container */
.about-photo-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
}

.about-photo-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  display: block;
}

/* Glassmorphism stats panel */
.about-glass-panel {
  position: absolute;
  bottom: -1px;
  left: -20px;
  right: auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  gap: 1.25rem;
  z-index: 20;
}

@media (max-width: 1023px) {
  .about-glass-panel {
    left: 50%;
    transform: translateX(-50%);
    bottom: -24px;
    white-space: nowrap;
  }

  .about-photo-wrapper {
    max-width: 340px;
    aspect-ratio: 3 / 4;
    margin-bottom: 40px;
  }
}

@media (max-width: 639px) {
  .about-photo-wrapper {
    max-width: 260px;
    margin-bottom: 36px;
  }

  .about-glass-panel {
    gap: 0.875rem;
    padding: 0.75rem 1rem;
  }

  .about-giant-number {
    font-size: 120px;
  }
}

.about-glass-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-glass-stat-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #2B8AC4;
  line-height: 1;
  margin-bottom: 0.2rem;
}

@media (min-width: 640px) {
  .about-glass-stat-value {
    font-size: 1.5rem;
  }
}

.about-glass-stat-label {
  font-size: 0.65rem;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (min-width: 640px) {
  .about-glass-stat-label {
    font-size: 0.7rem;
  }
}

.about-glass-divider {
  width: 1px;
  background: #e5e7eb;
  align-self: stretch;
}

/* ============================================
   SECTION 2 — PROJECT GEOGRAPHY (Light Mode Redesign)
   ============================================ */

.geo-section-light {
  background: #f9fafb;
}

.geo-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.geo-map-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.08));
}

/* Light-style map: white fill, gray stroke */
.geo-map-img.light-map {
  filter:
    drop-shadow(0 8px 24px rgba(0, 0, 0, 0.08)) brightness(1.05) saturate(0.3) hue-rotate(0deg);
  /* turns the map nearly grayscale/light */
}

/* City ticker row */
.geo-city-ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  margin-top: 1.25rem;
}

.geo-city-item {
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  transition: color 0.25s ease;
  cursor: default;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .geo-city-item {
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
  }
}

.geo-city-item:hover {
  color: #2B8AC4;
}

.geo-city-dot {
  color: #d1d5db;
  font-size: 0.6rem;
  padding: 0 0.1rem;
  flex-shrink: 0;
}

/* Light map markers */
.geo-marker-pulse {
  position: relative;
}

.geo-marker-dot {
  background: #2B8AC4;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(43, 138, 196, 0.4);
  position: relative;
  z-index: 2;
}

.geo-marker-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(43, 138, 196, 0.4);
  animation: geo-pulse 2s ease-out infinite;
  z-index: 1;
}

@keyframes geo-pulse {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.8);
  }
}

/* Tooltip card on hover */
.geo-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 0.625rem;
  padding: 0.4rem 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 700;
  color: #111827;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 30;
}

@media (min-width: 640px) {
  .geo-tooltip {
    font-size: 0.8rem;
    padding: 0.45rem 0.875rem;
  }
}

.geo-marker-wrap:hover .geo-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* ============================================
   SECTION 3 — MISSION & VALUES (Interactive Chameleon Cards)
   ============================================ */

/* ============================================
   SECTION 5 — MISSION & VALUES: SPLIT (Variant C)
   ============================================ */

/* Outer section */
.mission-split-section {
  display: flex;
  overflow: hidden;
}

/* Full-height two-column flex container */
.mission-split-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
}

/* ── LEFT PANEL ────────────────────────────────── */
.mission-left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d1117;
  overflow: hidden;
  /* Mobile: full width, auto height */
  width: 100%;
  padding: 1.25rem 1rem;
  flex-shrink: 0;
}

/* Decorative giant quote mark behind content */
.mission-left-deco {
  position: absolute;
  top: -40px;
  left: -20px;
  font-size: 18rem;
  font-family: Georgia, serif;
  color: rgba(43, 138, 196, 0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.mission-left-content {
  position: relative;
  z-index: 1;
  max-width: 460px;
  text-align: left;
}

.mission-left-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #5CADDF;
  margin-bottom: 1.25rem;
}

.mission-left-quote {
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: #ffffff;
  line-height: 1.65;
  margin: 0 0 1.25rem;
  quotes: none;
}

.mission-left-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #2B8AC4, #5CADDF);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.mission-left-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  display: none; /* Hidden on mobile — too long */
}

/* ── RIGHT PANEL ───────────────────────────────── */
.mission-right {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

.mission-right-header {
  padding: 1.5rem 1.5rem 0.75rem;
  border-bottom: 1px solid #f3f4f6;
  flex-shrink: 0;
}

.mission-right-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #2B8AC4;
  margin-bottom: 0.3rem;
}

.mission-right-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
  line-height: 1.2;
}

/* Accordion container */
.mission-accordion {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Each accordion item */
.mission-accord-item {
  position: relative;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 48px;
}

.mission-accord-item:last-child {
  border-bottom: none;
}

/* Hover: item expands */
.mission-accord-item:hover {
  flex: 4;
}

/* Photo background — hidden until hover */
.mission-accord-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 0;
}

.mission-accord-item:hover .mission-accord-bg {
  opacity: 1;
  transform: scale(1);
}

/* Dark gradient overlay — appears with photo */
.mission-accord-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(10, 20, 40, 0.82) 0%,
      rgba(10, 20, 40, 0.55) 60%,
      rgba(10, 20, 40, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.mission-accord-item:hover .mission-accord-overlay {
  opacity: 1;
}

/* Collapsed row (always visible) */
.mission-accord-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.5rem;
  transition: padding 0.4s ease;
  flex-shrink: 0;
}

/* Numbering */
.mission-accord-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: #d1d5db;
  letter-spacing: 0.08em;
  min-width: 20px;
  flex-shrink: 0;
  transition: color 0.4s ease;
}

.mission-accord-item:hover .mission-accord-num {
  color: rgba(255, 255, 255, 0.5);
}

/* Icon circle */
.mission-accord-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.4s ease;
}

.mission-accord-icon i {
  color: #2B8AC4;
  font-size: 0.75rem;
  transition: color 0.4s ease;
}

.mission-accord-item:hover .mission-accord-icon,
.mission-accord-item.expanded .mission-accord-icon {
  background: rgba(255, 255, 255, 0.15);
}

.mission-accord-item:hover .mission-accord-icon i,
.mission-accord-item.expanded .mission-accord-icon i {
  color: #ffffff;
}

/* Name */
.mission-accord-name {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.3;
  transition: color 0.4s ease;
}

.mission-accord-item:hover .mission-accord-name,
.mission-accord-item.expanded .mission-accord-name {
  color: #ffffff;
}

/* Arrow indicator */
.mission-accord-arrow {
  color: #d1d5db;
  font-size: 0.7rem;
  flex-shrink: 0;
  transition: color 0.4s ease, transform 0.4s ease;
}

.mission-accord-item:hover .mission-accord-arrow,
.mission-accord-item.expanded .mission-accord-arrow {
  color: rgba(255, 255, 255, 0.7);
  transform: rotate(90deg);
}

/* Expanded body — hidden until hover */
.mission-accord-body {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease 0.1s,
    padding 0.4s ease;
}

.mission-accord-item:hover .mission-accord-body,
.mission-accord-item.expanded .mission-accord-body {
  max-height: 200px;
  opacity: 1;
  padding: 0 1.5rem 1.25rem;
}

.mission-accord-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin: 0;
  max-width: 480px;
}

/* ── DESKTOP: Side by side ────────────────────── */
@media (min-width: 1024px) {
  .mission-split-inner {
    flex-direction: row;
  }

  .mission-left {
    width: 40%;
    padding: 4rem 3rem;
  }

  .mission-left-deco {
    font-size: 26rem;
    top: -80px;
    left: -30px;
  }

  .mission-left-quote {
    font-size: 1.5rem;
  }

  .mission-left-sub {
    display: block; /* Show on desktop */
    font-size: 0.9rem;
    -webkit-line-clamp: 5;
  }

  .mission-right {
    width: 60%;
  }

  .mission-right-header {
    padding: 2rem 2.5rem 1rem;
  }

  .mission-right-title {
    font-size: 1.75rem;
  }

  .mission-right-label {
    font-size: 0.75rem;
  }

  .mission-accord-row {
    padding: 1rem 2.5rem;
    gap: 1.25rem;
  }

  .mission-accord-num {
    font-size: 0.75rem;
    min-width: 24px;
  }

  .mission-accord-icon {
    width: 40px;
    height: 40px;
  }

  .mission-accord-icon i {
    font-size: 0.9rem;
  }

  .mission-accord-name {
    font-size: 1rem;
  }

  .mission-accord-body {
    padding: 0 2.5rem 0;
  }

  .mission-accord-item:hover .mission-accord-body,
  .mission-accord-item.expanded .mission-accord-body {
    padding: 0 2.5rem 1.5rem;
  }

  .mission-accord-desc {
    font-size: 0.9rem;
  }
}

/* ── TABLET ────────────────────────────────────── */
@media (min-width: 640px) and (max-width: 1023px) {
  .mission-split-inner {
    flex-direction: column;
  }

  .mission-left {
    padding: 2.5rem 2rem;
    min-height: 40vh;
  }

  .mission-left-deco {
    font-size: 14rem;
  }

  .mission-left-quote {
    font-size: 1.15rem;
  }

  .mission-right-header {
    padding: 1.25rem 2rem 0.75rem;
  }

  .mission-right-title {
    font-size: 1.4rem;
  }

  .mission-accord-row {
    padding: 0.875rem 2rem;
  }

  .mission-accord-body {
    padding: 0 2rem 0;
  }

  .mission-accord-item:hover .mission-accord-body,
  .mission-accord-item.expanded .mission-accord-body {
    padding: 0 2rem 1rem;
  }
}

/* ── Reduce motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .mission-accord-item {
    transition: none;
  }

  .mission-accord-bg,
  .mission-accord-overlay,
  .mission-accord-body {
    transition: none;
  }

  .mission-accord-item:hover .mission-accord-body {
    max-height: 200px;
    opacity: 1;
  }
}

/* ── MOBILE & TABLET FIX ────────────────────────────────── */
@media (max-width: 1023px) {
  .mission-split-section {
    padding-top: 4rem; /* For fixed header */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }

  .mission-split-inner {
    flex: 1 1 auto !important;
    display: flex;
    flex-direction: column;
    min-height: 0 !important;
  }

  .mission-left {
    flex: 0 0 auto !important;
  }

  .mission-right {
    flex: 1 1 auto !important;
    display: flex;
    flex-direction: column;
    min-height: 0 !important;
  }

  .mission-accordion {
    flex: 1 1 auto !important;
    display: flex;
    flex-direction: column;
    min-height: 0 !important;
  }

  .mission-accord-item {
    flex: 1 1 auto !important;
    min-height: 52px !important;
    max-height: none !important;
    overflow: hidden;
    transition: flex 0.4s ease, min-height 0.4s ease !important;
  }

  .mission-accord-item:hover,
  .mission-accord-item:focus-within,
  .mission-accord-item.expanded {
    flex: 3 1 auto !important;
  }
}

/* Value interactive card */
.value-interactive-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-radius: 0.875rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  border: 1px solid #f3f4f6;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  cursor: default;
}

.value-interactive-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

/* Background photo layer */
.value-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.45s ease, transform 0.45s ease;
  z-index: 0;
}

.value-interactive-card:hover .value-card-bg {
  opacity: 1;
  transform: scale(1);
}

/* Dark gradient overlay (only visible on hover) */
.value-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 30, 60, 0.88) 0%, rgba(15, 30, 60, 0.55) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 1;
}

.value-interactive-card:hover .value-card-overlay {
  opacity: 1;
}

/* Content layer */
.value-card-content {
  position: relative;
  z-index: 2;
  padding: 1rem;
  transition: all 0.4s ease;
}

@media (min-width: 640px) {
  .value-card-content {
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .value-card-content {
    padding: 2rem;
  }
}

/* Icon container */
.value-card-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: #eff6ff;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  flex-shrink: 0;
  margin-bottom: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
}

@media (min-width: 640px) {
  .value-card-icon-wrap {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
  }
}

@media (min-width: 1024px) {
  .value-card-icon-wrap {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1.5rem;
  }
}

.value-card-icon-wrap i {
  color: #2B8AC4;
  transition: color 0.4s ease;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .value-card-icon-wrap i {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .value-card-icon-wrap i {
    font-size: 1.375rem;
  }
}

.value-interactive-card:hover .value-card-icon-wrap {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.value-interactive-card:hover .value-card-icon-wrap i {
  color: #ffffff;
}

/* Title & description text */
.value-card-title {
  font-weight: 700;
  color: #111827;
  transition: color 0.4s ease;
  line-height: 1.3;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
}

@media (min-width: 640px) {
  .value-card-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .value-card-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }
}

.value-interactive-card:hover .value-card-title {
  color: #ffffff;
}

.value-card-desc {
  color: #6b7280;
  transition: color 0.4s ease;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.7rem;
}

@media (min-width: 640px) {
  .value-card-desc {
    font-size: 0.8rem;
  }
}

@media (min-width: 1024px) {
  .value-card-desc {
    font-size: 0.9rem;
    -webkit-line-clamp: unset;
    display: block;
  }
}

.value-interactive-card:hover .value-card-desc {
  color: rgba(255, 255, 255, 0.85);
}

/* On touch devices, keep cards minimal */
@media (hover: none) and (pointer: coarse) {
  .value-interactive-card:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  }

  .value-card-bg {
    display: none;
  }

  .value-card-overlay {
    display: none;
  }

  .value-interactive-card:hover .value-card-title {
    color: #111827;
  }

  .value-interactive-card:hover .value-card-desc {
    color: #6b7280;
  }

  .value-interactive-card:hover .value-card-icon-wrap {
    background: #eff6ff;
  }

  .value-interactive-card:hover .value-card-icon-wrap i {
    color: #2B8AC4;
  }
}

/* ============================================
   PRINT
   ============================================ */

/* ============================================
   ABOUT — LIVING WALL (Parallax Photo Mosaic)
   ============================================ */

.about-wall-section {
  position: relative;
  overflow: hidden;
  background: #0f1820;
}

/* === Photo grid === */
.about-wall-grid {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 6px;
  /* Extra height so columns overflow the viewport for parallax travel */
  height: 140%;
  top: -20%;
  will-change: transform;
}

.about-wall-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  will-change: transform;
}

/* Initial stagger: col1 starts shifted down, col3 starts shifted up */
#wall-col-1 {
  transform: translateY(40px);
}

#wall-col-3 {
  transform: translateY(-40px);
}

.about-wall-item {
  flex: 0 0 auto;
  /* Default item: shorter */
  height: 220px;
  overflow: hidden;
  border-radius: 4px;
}

.about-wall-item--tall {
  height: 320px;
}

.about-wall-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}

/* Slow Ken Burns on load */
.about-wall-item img:hover {
  transform: scale(1.04);
}

/* === Vignette overlays for depth === */
.about-wall-vignette-left,
.about-wall-vignette-right,
.about-wall-vignette-top,
.about-wall-vignette-bottom {
  position: absolute;
  pointer-events: none;
  z-index: 3;
}

.about-wall-vignette-left {
  inset: 0 auto 0 0;
  width: 55%;
  background: linear-gradient(to right,
      rgba(12, 18, 28, 0.97) 0%,
      rgba(12, 18, 28, 0.82) 40%,
      rgba(12, 18, 28, 0.35) 70%,
      transparent 100%);
}

.about-wall-vignette-right {
  inset: 0 0 0 auto;
  width: 15%;
  background: linear-gradient(to left, rgba(12, 18, 28, 0.55) 0%, transparent 100%);
}

.about-wall-vignette-top {
  inset: 0 0 auto 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(12, 18, 28, 0.7) 0%, transparent 100%);
}

.about-wall-vignette-bottom {
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(to top, rgba(12, 18, 28, 0.7) 0%, transparent 100%);
}

/* === Text panel — centered vertically, spans most of the width === */
.about-wall-panel {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  scrollbar-width: none;
  background: rgba(15, 24, 32, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-wall-panel::-webkit-scrollbar {
  display: none;
}

@media (min-width: 640px) {
  .about-wall-panel {
    padding: 2.5rem 3rem;
    width: 80%;
    max-width: 720px;
  }
}

@media (min-width: 1024px) {
  .about-wall-panel {
    padding: 3rem 4rem;
    width: 65%;
    max-width: 860px;
  }
}

.about-wall-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5CADDF;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .about-wall-label {
    font-size: 1rem;
  }
}

.about-wall-headline {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .about-wall-headline {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .about-wall-headline {
    font-size: 3.8rem;
    margin-bottom: 1.25rem;
  }
}

.about-wall-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 560px;
  text-align: center;
}

@media (min-width: 640px) {
  .about-wall-desc {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .about-wall-desc {
    font-size: 1.35rem;
    margin-bottom: 2rem;
    max-width: 720px;
  }
}

.about-wall-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #2B8AC4, #5CADDF);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .about-wall-divider {
    margin-bottom: 2rem;
  }
}

/* Stats row */
.about-wall-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .about-wall-stats {
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }
}

.about-wall-stat {
  display: flex;
  flex-direction: column;
}

.about-wall-stat-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.03em;
}

@media (min-width: 640px) {
  .about-wall-stat-num {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .about-wall-stat-num {
    font-size: 2.75rem;
  }
}

.about-wall-stat-lbl {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .about-wall-stat-lbl {
    font-size: 0.9rem;
  }
}

.about-wall-stat-sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .about-wall-stat-sep {
    height: 48px;
  }
}

/* CTA link */
.about-wall-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #5CADDF;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: gap 0.3s ease, color 0.3s ease;
  border-bottom: 1px solid rgba(92, 173, 223, 0.35);
  padding-bottom: 2px;
  width: fit-content;
}

@media (min-width: 640px) {
  .about-wall-cta {
    font-size: 1.25rem;
  }
}

.about-wall-cta:hover {
  gap: 1rem;
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.about-wall-cta-arrow {
  transition: transform 0.3s ease;
}

.about-wall-cta:hover .about-wall-cta-arrow {
  transform: translateX(4px);
}

/* Mobile: tighter layout, hide some photos */
@media (max-width: 639px) {
  .about-wall-item {
    height: 160px;
  }

  .about-wall-item--tall {
    height: 230px;
  }

  .about-wall-grid {
    gap: 4px;
  }

  .about-wall-col:nth-child(3) {
    display: none;
  }

  .about-wall-vignette-left {
    width: 90%;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .about-wall-item {
    height: 190px;
  }

  .about-wall-item--tall {
    height: 280px;
  }

  .about-wall-col:nth-child(3) {
    display: none;
  }

  .about-wall-vignette-left {
    width: 70%;
  }
}

/* Parallax disabled for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .about-wall-col {
    transform: none !important;
  }
}


@media print {

  header,
  footer,
  .no-print,
  .snap-nav {
    display: none;
  }

  main {
    padding-top: 0;
  }

  .snap-container {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  .snap-section {
    min-height: auto;
    scroll-snap-align: none;
    page-break-after: always;
  }
}

/* ============================================
   NEWS CONTENT — Quill-generated HTML renderer
   ============================================ */

/* Base .news-content container */
.news-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #1f2937;
  word-break: break-word;
}

/* Paragraphs */
.news-content p {
  margin-bottom: 1.25em;
  min-height: 1.2em;
}

/* Headings */
.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4 {
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

.news-content h1 { font-size: 2rem; }
.news-content h2 { font-size: 1.5rem; border-bottom: 2px solid #e5e7eb; padding-bottom: 0.3em; }
.news-content h3 { font-size: 1.25rem; }
.news-content h4 { font-size: 1.1rem; }

/* Links */
.news-content a {
  color: #2B8AC4;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.news-content a:hover { color: #1A5376; }

/* Strong / em */
.news-content strong { font-weight: 700; }
.news-content em { font-style: italic; }

/* Ordered/Unordered lists */
.news-content ul,
.news-content ol {
  margin: 1em 0 1.25em 1.5em;
  padding-left: 1em;
}
.news-content ul { list-style: disc; }
.news-content ol { list-style: decimal; }
.news-content li { margin-bottom: 0.4em; }
.news-content li p { margin-bottom: 0; }

/* Indentation from Quill */
.news-content .ql-indent-1 { padding-left: 2em; }
.news-content .ql-indent-2 { padding-left: 4em; }
.news-content .ql-indent-3 { padding-left: 6em; }

/* Blockquote */
.news-content blockquote {
  border-left: 4px solid #2B8AC4;
  padding: 0.75em 1.25em;
  margin: 1.5em 0;
  background: #f0f8ff;
  border-radius: 0 8px 8px 0;
  color: #374151;
  font-style: italic;
}

/* Code */
.news-content pre,
.news-content code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}
.news-content code {
  background: #f3f4f6;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.88em;
  color: #d63369;
}
.news-content pre {
  background: #1f2937;
  color: #e5e7eb;
  padding: 1.25em 1.5em;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.875em;
  line-height: 1.6;
  margin: 1.5em 0;
}
.news-content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* Horizontal rule */
.news-content hr {
  border: none;
  border-top: 2px solid #e5e7eb;
  margin: 2.5em 0;
}

/* ---- Images ---- */
/*
 * Quill inserts images into <p> tags.
 * We allow inline-block so multiple images in one <p> display side-by-side.
 * The image itself may have inline width/height from Quill Image Resize module.
 * We preserve inline styles BUT add sensible defaults.
 */
.news-content img {
  display: inline-block !important;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 4px;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s;
}
.news-content img:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

/* Paragraphs containing inline-block images — kill whitespace gaps between inline-block elements */
.news-content p:has(img) {
  font-size: 0;      /* eliminates whitespace between inline-block images */
  line-height: 1;
  margin-bottom: 0.75em;
}
/* Restore font-size for any text nodes next to images */
.news-content p:has(img) > * {
  font-size: 1rem;
}

/* Image grid classes for 2 and 3 column layouts (inserted by admin toolbar) */
.news-img-grid {
  display: grid;
  gap: 10px;
  margin: 1.5em 0;
  width: 100%;
}
.news-img-grid-2 {
  grid-template-columns: 1fr 1fr;
}
.news-img-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.news-img-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  display: block !important;
  margin: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive: on mobile, grids become single column */
@media (max-width: 640px) {
  .news-img-grid-2,
  .news-img-grid-3 {
    grid-template-columns: 1fr;
  }
  .news-img-grid img {
    height: 200px;
  }
}
@media (min-width: 641px) and (max-width: 900px) {
  .news-img-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Table */
.news-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95em;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #e5e7eb;
}
.news-content th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
  padding: 10px 16px;
  text-align: left;
  border-bottom: 2px solid #e5e7eb;
}
.news-content td {
  padding: 10px 16px;
  border-bottom: 1px solid #f3f4f6;
}
.news-content tr:last-child td { border-bottom: none; }
.news-content tr:hover td { background: #f9fafb; }

/* Alignment classes from Quill */
.news-content .ql-align-center { text-align: center; }
.news-content .ql-align-right { text-align: right; }
.news-content .ql-align-justify { text-align: justify; }

/* Inline styles from Quill (color, background, font-size) pass through as-is */

/* Quill video iframe embed */
.news-content iframe {
  max-width: 100%;
  border-radius: 8px;
  aspect-ratio: 16/9;
  height: auto;
  display: block;
  margin: 1.5em auto;
}