@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

@font-face {
  font-family: "Kollektif";
  src: url("assets/Kollektif.ttf");
}

@font-face {
  font-family: "Kollektif";
  src: url("assets/Kollektif-Bold.ttf");
  font-weight: 700;
}

:root {
  --teal: #00927a;
  --mint: #29cba3;
  --ink: #032b22;
  --muted: #52746a;
  --cream: #f4fbf7;
  --white: #ffffff;
  --line: #cce7dc;
  --soft-mint: #e3f7ef;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.55;
}

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

img {
  max-width: 100%;
}

.site-header {
  min-height: 82px;
  padding: 14px clamp(24px, 6vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(244, 251, 247, 0.94);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(0, 146, 122, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Kollektif", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
  white-space: nowrap;
}

.brand img {
  display: block;
  width: 34px;
  height: 34px;
  aspect-ratio: 1;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px 30px;
  color: #39635a;
  font-size: 14px;
}

.site-header nav a:hover,
.footer-links a:hover {
  color: var(--mint);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 999px;
}

.nav-cta {
  padding: 11px 18px;
  color: var(--white);
  background: var(--ink);
}

.hero {
  min-height: 680px;
  padding: 80px clamp(24px, 8vw, 120px) 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 50px;
  overflow: hidden;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0 0 28px;
  font-size: clamp(60px, 8.5vw, 126px);
  line-height: 0.9;
  letter-spacing: -6px;
}

.lede {
  max-width: 600px;
  color: #45655e;
  font-size: 20px;
  line-height: 1.5;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.button {
  min-height: 48px;
  padding: 14px 22px;
  font-size: 14px;
}

.button-primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 25px rgba(0, 146, 122, 0.2);
}

.button-quiet {
  padding-inline: 8px;
  color: var(--teal);
}

.button-quiet span {
  font-size: 20px;
}

.hero-art {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.hero-art .sun {
  position: absolute;
  top: 30px;
  right: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.22;
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: min(90%, 430px);
  max-height: 490px;
  object-fit: contain;
}

.hero-note {
  position: absolute;
  z-index: 2;
  bottom: 42px;
  left: 10px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 12px 25px rgba(3, 43, 34, 0.07);
  font-size: 13px;
}

.note-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
}

.section {
  padding: 100px clamp(24px, 8vw, 120px);
}

.section h2 {
  margin: 0 0 25px;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: -3px;
}

.story {
  background: var(--white);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 90px;
}

.story p,
.vision-card p,
.mission-card p,
.values-copy p,
.closing p {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
}

.story-lead {
  margin: 30px 0 44px;
  padding-left: 22px;
  border-left: 4px solid var(--mint);
  color: var(--ink) !important;
  font-size: 21px !important;
  line-height: 1.5;
}

.story-chapters {
  display: grid;
  gap: 34px;
}

.story-expand {
  display: none;
}

.story-chapters article {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.story-chapters article p {
  margin: 10px 0;
}

.chapter-label {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.timeline {
  position: sticky;
  top: 120px;
  align-self: start;
  border-top: 1px solid var(--line);
}

.timeline-item {
  padding: 23px 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.timeline-item strong {
  color: var(--teal);
  font-size: 20px;
}

.community-gallery {
  background: var(--soft-mint);
}

.gallery-intro {
  max-width: 720px;
  margin-bottom: 42px;
}

.gallery-intro p {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
}

.gallery-feature,
.gallery-masonry figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 146, 122, 0.12);
  border-radius: 24px;
  background: #d8eee6;
  box-shadow: 0 14px 34px rgba(3, 43, 34, 0.08);
}

.gallery-feature {
  width: 100%;
  margin-bottom: 18px;
}

.gallery-mobile-hint {
  display: none;
}

.gallery-feature img,
.gallery-masonry img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-masonry {
  columns: 3;
  column-gap: 18px;
}

.gallery-masonry figure {
  width: 100%;
  margin-bottom: 18px;
  break-inside: avoid;
}

.gallery-feature figcaption,
.gallery-masonry figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(3, 43, 34, 0.82);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
}

.photo-preview-trigger {
  cursor: zoom-in;
}

.photo-preview-trigger:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  padding: 18px;
  display: none;
  grid-template-rows: auto minmax(0, 1fr);
  background: rgba(2, 31, 25, 0.94);
  backdrop-filter: blur(10px);
}

.photo-lightbox.is-open {
  display: grid;
}

.lightbox-open {
  overflow: hidden;
}

.photo-lightbox-toolbar {
  width: min(1200px, 100%);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--white);
}

.photo-lightbox-toolbar > span {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.photo-lightbox-actions button {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font: 600 15px "Poppins", Arial, sans-serif;
}

.photo-lightbox-actions button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.photo-lightbox-actions .photo-lightbox-close {
  margin-left: 6px;
  font-size: 26px;
}

.photo-lightbox-stage {
  width: min(1200px, 100%);
  height: 100%;
  margin: 0 auto;
  overflow: auto;
  display: block;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
}

.photo-lightbox-stage img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0 auto;
  transition: width 160ms ease;
}

.mission {
  padding-top: 0;
  padding-bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
}

.mission-card,
.vision-card {
  min-height: 420px;
  padding: 70px clamp(30px, 6vw, 80px);
}

.mission-card {
  color: var(--white);
  background: var(--teal);
  border-radius: 24px 0 0 24px;
}

.mission-card .section-kicker {
  color: #b4f8e3;
}

.mission-card p {
  color: #e0fff5;
}

.vision-card {
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 24px 24px 0;
}

.pillars {
  background: var(--white);
}

.section-heading {
  margin-bottom: 48px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading h2 {
  max-width: 650px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pillar {
  padding: 24px 0;
  border-top: 3px solid var(--mint);
}

.pillar-number {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

.pillar h3 {
  margin: 25px 0 10px;
  font-size: 22px;
}

.pillar p {
  color: var(--muted);
  font-size: 15px;
}

.values {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 80px;
  background: var(--soft-mint);
}

.values-art {
  text-align: center;
}

.values-art img {
  width: 80%;
  max-width: 320px;
  max-height: 300px;
  object-fit: contain;
}

.values-art small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.text-link {
  margin-top: 22px;
  display: inline-flex;
  gap: 10px;
  color: var(--teal);
  font-weight: 700;
}

.closing {
  padding-top: 130px;
  padding-bottom: 130px;
  color: var(--white);
  background: var(--ink);
  text-align: center;
}

.closing .eyebrow {
  color: var(--mint);
}

.closing h2 {
  max-width: 800px;
  margin: 0 auto 20px;
}

.closing p {
  margin-right: auto;
  margin-left: auto;
  color: #c0e5da;
}

.closing .button {
  margin-top: 25px;
}

.site-footer {
  padding: 34px clamp(24px, 8vw, 120px) 26px;
  color: #c0e5da;
  background: #021f19;
}

.footer-top {
  padding-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(192, 229, 218, 0.2);
}

.brand-footer {
  color: var(--white);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.page-picker {
  position: fixed;
  inset: 0;
  z-index: 20;
  padding: 22px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3, 43, 34, 0.62);
}

.page-picker.is-open {
  display: flex;
}

.page-picker-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(780px, 90vh);
  padding: 44px;
  overflow: auto;
  border-radius: 26px;
  background: var(--cream);
}

.page-picker-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 56px);
}

.page-picker-close {
  position: absolute;
  top: 13px;
  right: 18px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 34px;
}

.page-picker-intro {
  margin: 0 0 24px;
  color: var(--muted);
}

.page-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
}

.page-list a {
  min-height: 48px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.page-list a:hover {
  border-color: var(--teal);
  color: var(--teal);
}

@media (max-width: 1000px) {
  .gallery-masonry {
    columns: 2;
  }
}

@media (max-width: 850px) {
  .site-header nav > a:not(.nav-cta) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

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

  .story-grid,
  .values {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .timeline {
    position: static;
  }

  .mission {
    grid-template-columns: 1fr;
    padding-right: 24px;
    padding-left: 24px;
  }

  .mission-card,
  .vision-card {
    border: 1px solid var(--line);
    border-radius: 24px;
  }

  .vision-card {
    border-top: 0;
  }

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

  .section-heading,
  .footer-top,
  .footer-bottom {
    display: block;
  }

  .footer-links {
    margin-top: 17px;
  }

  .hero h1 {
    letter-spacing: -4px;
  }
}

@media (max-width: 600px) {
  .site-header {
    min-height: 70px;
    gap: 12px;
  }

  .site-header nav {
    flex: 0 0 auto;
  }

  .site-header .nav-cta {
    padding: 10px 13px;
    font-size: 12px;
    white-space: nowrap;
  }

  .section,
  .hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .site-header {
    padding-right: 20px;
    padding-left: 20px;
  }

  .brand {
    font-size: 21px;
  }

  .brand span {
    display: block !important;
  }

  .hero h1 {
    font-size: clamp(52px, 16vw, 64px);
    line-height: 0.92;
    letter-spacing: -3px;
  }

  .hero {
    min-height: auto;
    gap: 30px;
    padding-top: 48px;
    padding-bottom: 58px;
  }

  .lede {
    font-size: 17px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .button-primary {
    width: 100%;
  }

  .hero-art .sun {
    width: min(78vw, 300px);
    height: min(78vw, 300px);
  }

  .hero-art {
    min-height: 300px;
    overflow: visible;
  }

  .hero-art img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(78vw, 290px);
    height: min(78vw, 290px);
    max-height: none;
    object-fit: contain;
    transform: translate(-50%, -50%);
  }

  .hero-art .sun {
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
  }

  .hero-note {
    bottom: 15px;
    left: 0;
    font-size: 12px;
  }

  .section h2 {
    font-size: clamp(38px, 12vw, 50px);
    letter-spacing: -2px;
  }

  .story-grid {
    gap: 42px;
  }

  .story-lead {
    margin: 24px 0 36px;
    padding-left: 16px;
    font-size: 18px !important;
  }

  .story-chapters {
    position: relative;
    max-height: 660px;
    gap: 26px;
    overflow: hidden;
    transition: max-height 350ms ease;
    mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
  }

  .story-chapters.is-expanded {
    max-height: 3000px;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .story-expand {
    width: 100%;
    min-height: 48px;
    margin-top: 14px;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--teal);
    background: var(--white);
    font: 700 14px "Poppins", Arial, sans-serif;
    cursor: pointer;
  }

  .story p,
  .vision-card p,
  .mission-card p,
  .values-copy p,
  .closing p {
    font-size: 16px;
  }

  .timeline-item {
    flex: 0 0 236px;
    min-height: 150px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--cream);
    scroll-snap-align: start;
    font-size: 14px;
  }

  .timeline-item strong {
    font-size: 18px;
  }

  .timeline {
    width: calc(100% + 20px);
    margin-right: -20px;
    padding: 0 20px 8px 0;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    border: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .timeline::-webkit-scrollbar {
    display: none;
  }

  .gallery-feature,
  .gallery-masonry figure {
    border-radius: 18px;
  }

  .gallery-feature {
    margin-bottom: 14px;
  }

  .gallery-mobile-hint {
    margin: 20px 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
  }

  .gallery-mobile-hint span {
    color: var(--teal);
    font-size: 20px;
  }

  .gallery-masonry {
    --mobile-gallery-height: min(240px, calc((100vw - 40px) / 1.51));
    width: calc(100% + 20px);
    margin-right: -20px;
    padding-right: 20px;
    display: flex;
    align-items: stretch;
    gap: 14px;
    overflow-x: auto;
    columns: initial;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-masonry::-webkit-scrollbar {
    display: none;
  }

  .gallery-masonry figure {
    flex: 0 0 auto;
    width: auto;
    height: var(--mobile-gallery-height);
    margin: 0;
    scroll-snap-align: start;
  }

  .gallery-masonry img {
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
  }

  .gallery-feature figcaption,
  .gallery-masonry figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 9px 11px;
    font-size: 12px;
  }

  .pillar-grid,
  .page-list {
    grid-template-columns: 1fr;
  }

  .mission {
    gap: 14px;
    padding: 60px 20px;
    background: var(--white);
  }

  .mission-card,
  .vision-card {
    min-height: auto;
    padding: 42px 24px;
    border-radius: 22px;
  }

  .mission-card h2,
  .vision-card h2 {
    font-size: clamp(36px, 11vw, 46px);
  }

  .vision-card {
    border: 1px solid var(--line);
    background: var(--cream);
  }

  .pillar {
    min-height: 210px;
    padding: 20px 16px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--mint);
    border-radius: 18px;
    background: var(--cream);
  }

  .pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .pillar h3 {
    margin: 18px 0 8px;
    font-size: 18px;
    line-height: 1.2;
  }

  .pillar p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.5;
  }

  .values {
    gap: 34px;
    text-align: center;
  }

  .values-art img {
    width: min(72%, 260px);
  }

  .values-copy p {
    margin-right: auto;
    margin-left: auto;
  }

  .text-link {
    justify-content: center;
  }

  .closing {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .closing .button {
    width: 100%;
  }

  .footer-top,
  .footer-bottom {
    text-align: center;
  }

  .footer-top p {
    margin: 14px auto 0;
    max-width: 280px;
  }

  .footer-bottom {
    padding-top: 24px;
  }

  .footer-bottom > span {
    display: block;
    margin-bottom: 16px;
  }

  .footer-top .brand {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
    gap: 12px 20px;
  }

  .page-picker {
    align-items: flex-end;
    padding: 12px;
  }

  .page-picker-panel {
    max-height: 88vh;
    border-radius: 24px 24px 16px 16px;
  }

  .page-picker-panel {
    padding: 36px 20px 24px;
  }

  .photo-lightbox {
    padding: 10px;
  }

  .photo-lightbox-toolbar {
    margin-bottom: 10px;
  }

  .photo-lightbox-toolbar > span {
    max-width: 34vw;
    font-size: 11px;
  }

  .photo-lightbox-actions {
    gap: 4px;
  }

  .photo-lightbox-actions button {
    min-width: 34px;
    height: 36px;
    padding: 0 8px;
    font-size: 11px;
  }

  .photo-lightbox-actions .photo-lightbox-close {
    margin-left: 1px;
    font-size: 21px;
  }

  .photo-lightbox-stage {
    border-radius: 14px;
  }
}
