/* Lok Nyaay Foundation — static site custom styles */
:root {
  --ln-navy: #1B2B48;
  --ln-navy-hover: #2A3F63;
  --ln-saffron: #EA580C;
  --ln-green: #16A34A;
  --ln-ivory: #FDFCF8;
  --ln-ivory-alt: #F3F2EA;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* Paper grain overlay */
.paper-grain { position: relative; }
.paper-grain::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Decorative underline */
.deco-underline {
  background-image: linear-gradient(transparent 60%, rgba(234,88,12,0.25) 60%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0 0.1em;
}

::selection { background: #1B2B48; color: #FDFCF8; }

/* Fade up entrance */
.fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s ease-out forwards; }
.fade-up:nth-of-type(2) { animation-delay: 0.1s; }
.fade-up:nth-of-type(3) { animation-delay: 0.25s; }
.fade-up:nth-of-type(4) { animation-delay: 0.4s; }
.fade-up:nth-of-type(5) { animation-delay: 0.55s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Stat number */
.stat-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* Pill buttons */
.btn-pill {
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-pill:hover { transform: translateY(-1px); }

/* Image frames */
.image-frame { overflow: hidden; position: relative; }
.image-frame img { transition: transform 0.6s ease; }
.image-frame:hover img { transform: scale(1.04); }

/* Form inputs */
.form-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}
.form-label-light {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--ln-navy);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(27, 43, 72, 0.15);
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--ln-navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--ln-navy);
  box-shadow: 0 0 0 3px rgba(27, 43, 72, 0.1);
}
textarea.form-input { height: auto; padding: 10px 12px; resize: vertical; }

.form-input-dark {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-family: 'Outfit', system-ui, sans-serif;
  color: #fff;
  transition: background 0.2s;
}
.form-input-dark::placeholder { color: rgba(255, 255, 255, 0.4); }
.form-input-dark:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.25);
}
.form-input-dark option { color: #0F172A; }
textarea.form-input-dark { height: auto; padding: 10px 12px; resize: vertical; }
