:root {
  color-scheme: light;
  --paper: #fbfcfe;
  --ink: #20334d;
  --muted: #586b7e;
  --accent: #225d8f;
  --accent-dark: #194b76;
  --teal: #076d75;
  --panel: #edf3f9;
  --line: #dce5ee;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

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

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  font-weight: 580;
  letter-spacing: -.045em;
  line-height: 1.1;
}

p {
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(40px,5.1vw,68px);
  margin-bottom: 28px;
}

em {
  font-style: normal;
  color: var(--muted);
}

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 5;
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand>span {
  letter-spacing: -1px;
  line-height: 1;
}

.brand-sub {
  display: block;
  font-weight: 500;
  margin-top: 5px;
}

.header nav {
  display: flex;
  align-items: center;
  font-size: 12px;
}

.header nav a:hover {
  color: var(--accent);
}

.nav-contact {
  display: flex;
  gap: 8px;
  align-items: center;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  padding-top: 68px;
}

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

.eyebrow {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.025em;
  margin-bottom: 19px;
  line-height: 1.4;
}

h1 {
  margin: 0 0 25px;
}

h1 em {
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-description {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  color: #fff;
  line-height: 1.5;
  transition: background .2s,transform .2s;
}

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

.section {
  max-width: 1120px;
  margin: auto;
  padding: 95px 5%;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
}

.intro .eyebrow, .section-top .eyebrow {
  font-size: 17px;
  color: var(--muted);
}

.intro-text {
  padding-top: 40px;
  color: var(--muted);
  letter-spacing: -.015em;
}

.text-link {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  line-height: 1.5;
}

.text-link:hover {
  text-decoration: underline;
}

.text-link span[aria-hidden] {
  font-size: 20px;
}

.initiatives {
  max-width: none;
  padding: 95px max(5%,calc((100vw - 1120px)/2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.section-top {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 26px;
}

.section-top h2 {
  margin-bottom: 10px;
}

.section-top>p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 15px;
  letter-spacing: -.02em;
}

.initiative {
  overflow: hidden;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s,box-shadow .3s;
}

.initiative:hover {
  box-shadow: 0 20px 40px #00000008;
}

.initiative-copy {
  padding: 38px 38px 40px;
  order: -1;
}

.initiative-copy .eyebrow {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 12px;
}

.initiative-copy h3 {
  font-size: 35px;
  margin-bottom: 9px;
  letter-spacing: -.04em;
}

.nepali {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.initiative-copy>p:not(.eyebrow):not(.nepali):not(.status) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  min-height: 74px;
}

.initiative-copy .text-link {
  font-size: 14px;
}

.status {
  font-size: 10px;
  display: flex;
  gap: 7px;
  align-items: center;
  line-height: 1.5;
  min-height: 15px;
}

.status>span {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.education .initiative-copy {
  padding-bottom: 68px;
}

.approach {
  padding: 95px max(5%,calc((100vw - 1120px)/2));
}

.principles {
  display: grid;
  grid-template-columns: repeat(3,1fr);
}

.principles article {
  position: relative;
}

.principle-icon {
  line-height: 1;
}

.principles h3 {
  letter-spacing: -.035em;
  margin: 25px 0 14px;
}

.principles p {
  color: var(--muted);
}

.connect {
  text-align: center;
  max-width: none;
  padding: 95px 5%;
}

.connect-symbol {
  font-size: 52px;
  line-height: 1.3;
  margin-bottom: 24px;
}

.connect .eyebrow {
  font-size: 17px;
  color: var(--muted);
}

.connect h2 {
  font-size: clamp(43px,5.5vw,72px);
}

.connect>p:not(.eyebrow) {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.6;
}

.connect .button {
  margin-top: 12px;
}

.email {
  display: block;
  margin-top: 20px;
  font-size: 14px;
  color: var(--accent);
}

.email:hover {
  text-decoration: underline;
}


.page-width {
  width: min(1120px,88%);
  margin-inline: auto;
}













.skip {
  position: fixed;
  top: -100px;
  left: 15px;
  z-index: 10;
  padding: 10px;
  background: var(--paper);
}

.skip:focus {
  top: 10px;
}

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

@media(max-width:900px) {
  .header nav {
    gap: 23px;
  }

  .intro {
    gap: 6%;
  }

  .intro h2 {
    font-size: 42px;
  }

  .section-top>p {
    font-size: 14px;
  }

  .initiative-copy {
    padding: 32px 28px;
  }

  .initiative-copy h3 {
    font-size: 30px;
  }

  .principles {
    gap: 30px;
  }

  .hero {
    min-height: 800px;
  }
}

@media(max-width:700px) {
  html {
    scroll-padding-top: 80px;
  }

  .menu-toggle {
    display: flex;
    gap: 13px;
    border: 0;
    background: none;
    font-size: 12px;
    padding: 12px 0 12px 16px;
    align-items: center;
  }

  .menu-toggle span {
    font-size: 17px;
  }

  .header nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    backdrop-filter: blur(20px);
    padding: 25px 7%;
    z-index: 3;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 20px #282e290c;
  }

  .header nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    font-size: 16px;
  }

  .nav-contact {
    justify-content: space-between;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-copy {
    padding: 0 6%;
  }

  .hero .button {
    font-size: 13px;
  }

  .hero-art {
    margin-top: 24px;
    transform-origin: top center;
  }

  .section {
    padding: 65px 7%;
  }

  .intro {
    display: block;
  }

  .intro-text {
    padding-top: 10px;
    font-size: 16px;
  }

  .initiatives {
    display: block;
    padding: 60px 5%;
  }

  .section-top {
    display: block;
    margin-bottom: 32px;
    padding: 0 2%;
  }

  .section-top h2 {
    margin-bottom: 20px;
  }

  .section-top>p {
    font-size: 16px;
  }

  .section-top>p br {
    display: none;
  }

  .initiative {
    margin-bottom: 22px;
  }

  .initiative-copy {
    padding: 32px;
  }

  .initiative-copy h3 {
    font-size: 32px;
  }

  .education .initiative-copy {
    padding-bottom: 32px;
  }

  .initiative-copy>p:not(.eyebrow):not(.nepali):not(.status) {
    min-height: 0;
  }

  .approach {
    padding: 65px 7%;
  }

  .principles {
    grid-template-columns: 1fr;
    margin-top: 35px;
  }

  .principles article {
    padding: 15px 0 0 55px;
  }

  .principle-icon {
    position: absolute;
    left: 0;
    font-size: 33px;
  }

  .principles h3 {
    margin-top: 3px;
    margin-bottom: 10px;
    font-size: 25px;
  }

  .principles p {
    max-width: 100%;
    margin-bottom: 0;
    font-size: 16px;
  }

  .connect {
    padding: 60px 6% 70px;
  }

  .connect>p:not(.eyebrow) {
    font-size: 17px;
  }

  .connect-symbol {
    font-size: 44px;
  }




}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition: none!important;
    animation: none!important;
  }

  .button:hover, .initiative:hover {
    transform: none;
  }
}

.header {
  height: 88px;
  background: #fbfcfeee;
  padding: 0 max(6%,calc((100vw - 1120px)/2));
  backdrop-filter: blur(16px);
}

.brand img {
  filter: none;
  width: 32px;
  height: 32px;
}

.brand>span {
  font-weight: 620;
  font-size: 25px;
}

.header nav {
  gap: 32px;
}

.nav-contact {
  border-bottom: 1px solid var(--accent);
  padding: 6px 0;
}

.hero {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 6%;
  padding: 78px 6% 72px;
  text-align: left;
  min-height: 0;
  background: none;
  overflow: visible;
  align-items: center;
}

.hero-copy {
  padding: 0;
}

.hero .eyebrow {
  font-size: 10px;
  letter-spacing: 1.35px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  margin-bottom: 29px;
}

h1 {
  font-size: clamp(60px,6.3vw,82px);
  letter-spacing: -.055em;
  line-height: 1.1;
  margin-bottom: 27px;
  font-weight: 580;
}

h1 em {
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--accent);
  font-weight: 450;
}

.hero-description {
  font-size: 17px;
  line-height: 1.75;
  max-width: 400px;
  margin: 0 0 28px;
  letter-spacing: -.01em;
}

.button {
  background: var(--accent);
  border-radius: 7px;
  font-size: 13px;
  padding: 14px 21px;
  gap: 25px;
}

.button:hover {
  background: var(--accent-dark);
}

.hero-art {
  height: auto;
  max-width: 100%;
  width: 100%;
  margin: 0;
  transform: none;
  position: relative;
  background: var(--panel);
  border-radius: 6px 60px 6px 6px;
  overflow: hidden;
  box-shadow: none;
  isolation: auto;
}

.hero-art>img {
  width: 100%;
  height: auto;
}

.art-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px 0;
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--muted);
}

.art-heading>span:last-child {
  font-size: 25px;
  line-height: 1;
}

.hero-art>img {
  margin-top: -12px;
  margin-bottom: -20px;
}

.intro {
  border-top: 1px solid var(--line);
  padding-top: 95px;
  padding-bottom: 95px;
}

.intro h2 {
  font-size: 44px;
  font-weight: 580;
}

.eyebrow {
  color: var(--muted);
}

.intro-text {
  font-size: 16px;
}

.initiatives {
  background: var(--panel);
}

.section-top h2 {
  font-size: 49px;
  font-weight: 580;
}

.initiative {
  border-radius: 10px;
}

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

.initiative-copy h3 {
  font-weight: 580;
}

.principles {
  gap: 50px;
  margin-top: 40px;
}

.principles article {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.principle-icon {
  color: var(--accent);
  font-size: 35px;
}

.principles h3 {
  font-size: 23px;
  font-weight: 580;
}

.principles p {
  font-size: 15px;
}

.connect {
  background: var(--panel);
}

.connect-symbol {
  color: var(--accent);
}

.connect h2 {
  font-weight: 580;
}


.status {
  color: var(--teal);
}

.status>span {
  background: var(--teal);
}

@media(max-width:900px) {
  .hero {
    gap: 5%;
    padding: 65px 5%;
  }

  h1 {
    font-size: 59px;
  }

  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: .8px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-art {
    border-top-right-radius: 45px;
  }

  .art-heading {
    padding: 20px 20px 0;
  }

  .section-top h2 {
    font-size: 43px;
  }
}

@media(max-width:700px) {
  .header {
    height: 73px;
    padding: 0 6%;
  }

  .header nav {
    top: 72px;
    background: var(--paper);
  }

  .brand>span {
    font-size: 23px;
  }

  .brand img {
    width: 29px;
    height: 29px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 45px 7% 48px;
    gap: 36px;
    min-height: 0;
  }

  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: .8px;
    margin-bottom: 23px;
  }

  h1 {
    font-size: clamp(52px,12vw,76px);
    line-height: 1.1;
    letter-spacing: -.05em;
    margin-bottom: 23px;
  }

  .hero-description {
    font-size: 16px;
    line-height: 1.7;
    max-width: 440px;
    margin-bottom: 25px;
  }

  .hero-art {
    width: 100%;
    max-width: 440px;
    align-self: center;
    margin: 0;
    transform: none;
    height: auto;
    border-top-right-radius: 55px;
  }

  .hero-art>img {
    width: 100%;
    height: auto;
  }

  .art-heading {
    font-size: 8px;
    padding: 19px 22px 0;
  }

  .intro {
    padding-top: 55px;
    padding-bottom: 60px;
  }

  .intro h2 {
    font-size: 39px;
  }

  .section-top h2 {
    font-size: 40px;
  }

  .initiative {
    border-radius: 9px;
  }

  .approach h2 {
    font-size: 38px;
  }

  .connect h2 {
    font-size: 39px;
  }

  .principles {
    gap: 26px;
  }

  .principles article {
    padding-top: 22px;
  }

  .principle-icon {
    top: 27px;
  }
}

.hero-art>img {
  margin: 0;
}

.art-heading {
  position: relative;
  z-index: 1;
}

.photo-carousel {
  border-radius: 8px 45px 8px 8px;
  background: var(--panel);
  align-self: center;
}

.photo-carousel .art-heading {
  padding: 22px 25px 20px;
  line-height: 1.5;
}

.photo-carousel .art-heading .slide-count {
  font-size: 10px;
  letter-spacing: 1px;
}

.photo-stage {
  position: relative;
  touch-action: pan-y;
}

.photo-slide {
  margin: 0;
}

.photo-slide[hidden] {
  display: none;
}

.photo-slide>img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--line);
}

.photo-slide:last-child>img {
  object-fit: contain;
}

.photo-slide figcaption {
  padding: 23px 25px 8px;
  min-height: 112px;
}

.photo-slide figcaption strong {
  display: block;
  font-size: 21px;
  font-weight: 580;
  letter-spacing: -.04em;
  line-height: 1.25;
  margin-bottom: 7px;
}

.photo-slide figcaption>span {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 310px;
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 18px 18px 17px;
}

.carousel-dots, .carousel-buttons {
  display: flex;
  gap: 4px;
  align-items: center;
}

.carousel-controls button {
  cursor: pointer;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  transition: background .2s;
}

.carousel-controls button:hover {
  background: var(--line);
}

.carousel-controls button:focus-visible {
  outline-offset: 1px;
}

.carousel-dot span {
  display: block;
  width: 6px;
  height: 6px;
  background: color-mix(in srgb, var(--muted) 45%, transparent);
  border-radius: 50%;
  transition: width .2s,background .2s;
}

.carousel-dot[aria-current=true] span {
  width: 22px;
  border-radius: 5px;
  background: var(--accent);
}

.carousel-buttons span {
  font-size: 20px;
  line-height: 1;
}

.carousel-play span {
  font-size: 15px;
  letter-spacing: -3px;
  padding-right: 2px;
}

@media(max-width:700px) {
  .photo-carousel {
    width: 100%;
    max-width: 440px;
    border-top-right-radius: 36px;
  }

  .photo-carousel .art-heading {
    padding: 19px 21px 17px;
  }

  .photo-slide figcaption {
    padding: 21px 21px 6px;
    min-height: 112px;
  }

  .photo-slide figcaption strong {
    font-size: 22px;
  }

  .photo-slide figcaption>span {
    font-size: 12px;
  }

  .carousel-controls {
    padding: 6px 14px 15px;
  }

  .carousel-controls button {
    width: 42px;
    height: 42px;
  }

  .carousel-dots {
    gap: 0;
  }
}

.brand-logo {
  position: relative;
  width: 46px;
  height: 46px;
  overflow: hidden;
  display: block;
  background: var(--line);
  border-radius: 5px;
  flex-shrink: 0;
}

.brand .brand-logo img {
  position: absolute;
  max-width: none;
  filter: none;
}

.brand-sub {
  font-size: 7px;
  letter-spacing: 2px;
}

.photo-carousel .art-heading {
  font-size: 8px;
  letter-spacing: 1.1px;
}

.brand .brand-logo img {
  width: 84px;
  height: 84px;
  left: -21px;
  top: -17px;
}

.photo-slide:nth-child(2)>img {
  object-fit: contain;
  object-position: center;
  background: var(--panel);
}

.approach {
  padding-top: 65px;
  padding-bottom: 75px;
}

.approach .principles {
  margin-top: 0;
}

@media(max-width:700px) {
  .approach {
    padding-top: 40px;
    padding-bottom: 50px;
  }
}

/* Shared footer: keep identical across all Krinjal Foundation sites */
.site-footer { border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; padding-block: 26px; }
.footer-sites { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.footer-sites > span { font-weight: 550; color: var(--ink); }
.footer-sites ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.footer-sites a { display: inline-block; padding-block: 6px; color: var(--muted); }
.footer-sites a:hover { color: var(--accent); text-decoration: underline; }
.footer-sites a[aria-current] { color: var(--ink); font-weight: 550; }
.site-footer .copyright { margin: 0 0 0 auto; text-align: right; }
