/* ============================================
   Quiet Hands — Design tokens (bold/modern)
   ============================================ */
:root {
  --ink: #0A0A0A;
  --ink-soft: #333333;
  --parchment: #F2F0EB;
  --parchment-deep: #E8E4DA;
  --amber: #FF4D00;
  --amber-deep: #CC3D00;
  --sage: #6B6B6B;
  --sage-deep: #4A4A4A;
  --grey: #8B8378;
  --white: #FFFFFF;

  --display: 'Montserrat', sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --measure: 64ch;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

p { margin: 0 0 1.2em; }
a { color: inherit; text-decoration: none; }

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

::selection { background: var(--amber); color: var(--white); }

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

/* ============================================
   Nav
   ============================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 5vw;
  background: rgba(242, 240, 235, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--ink);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.nav-logo img { height: 34px; width: auto; display: block; }
.nav-logo-text {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  display: flex;
}
.nav-logo-text .lt { font-weight: 400; }
.nav-logo-text .ht { font-weight: 800; }

.nav-links {
  display: flex;
  gap: 1.9rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 0.2rem 0;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--amber);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--amber);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
}

@media (max-width: 820px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--parchment);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 5vw 1.5rem;
    border-bottom: 1.5px solid var(--ink);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0; border-bottom: 1px solid rgba(10,10,10,0.08); }
  .nav-toggle { display: flex; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 6vw 3rem;
  overflow: hidden;
}

.hero-mark { width: 150px; height: auto; margin-bottom: 1.6rem; }

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  max-width: 18ch;
  margin-bottom: 1.2rem;
  font-weight: 800;
}

.hero h1 .accent { color: var(--amber); }

.hero-sub {
  max-width: 44ch;
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 2.2rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--sage));
}
.scroll-cue::after {
  content: '';
  position: absolute;
  top: 0; left: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  animation: cue-move 2.4s ease-in-out infinite;
}
@keyframes cue-move {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 36px; opacity: 0; }
}

/* ============================================
   Buttons — sharp corners, bold weight
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 2px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--display);
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--amber-deep);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--parchment);
}

.btn-sage {
  background: var(--sage);
  color: var(--white);
}
.btn-sage:hover { background: var(--sage-deep); }

/* ============================================
   Generic section scaffolding
   ============================================ */
.section {
  padding: 5.5rem 6vw;
}

.section-inner {
  max-width: 880px;
  margin: 0 auto;
}

.section-narrow {
  max-width: 680px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 800;
  margin-bottom: 0.8rem;
  display: block;
}

.section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  max-width: 24ch;
}

.band-ink h2,
.band-ink .section-eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: var(--measure);
  font-weight: 500;
}

/* divider — bold rule, not soft curve */
.hand-divider {
  width: 56px;
  height: 3px;
  background: var(--amber);
  margin: 3rem 0;
  border: none;
}
.divider-center { margin-left: auto; margin-right: auto; }

/* ============================================
   Gurbani citation block — bold, no soft card
   ============================================ */
.gurbani {
  background: transparent;
  border-top: 3px solid var(--ink);
  padding: 1.6rem 0 1.6rem;
  margin: 2rem 0;
}

.gurbani .gurmukhi {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.gurbani .translit {
  font-style: italic;
  color: var(--sage-deep);
  font-size: 0.96rem;
  margin-bottom: 0.7rem;
  font-weight: 500;
}

.gurbani .meaning {
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.gurbani cite {
  font-size: 0.78rem;
  color: var(--amber);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gurbani .gloss {
  font-size: 0.96rem;
  color: var(--ink-soft);
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--parchment-deep);
  font-weight: 500;
}

.gurbani-feature {
  text-align: center;
  border-top: none;
  border-bottom: none;
  padding: 2.4rem 1rem;
  position: relative;
}
.gurbani-feature::before, .gurbani-feature::after {
  content: '';
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 56px; height: 3px;
  background: var(--amber);
}
.gurbani-feature::before { top: 0; }
.gurbani-feature::after { bottom: 0; }
.gurbani-feature .gurmukhi { font-size: 1.75rem; }

.verify-note {
  display: inline-block;
  font-size: 0.76rem;
  color: var(--sage);
  background: var(--parchment-deep);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  margin-top: 0.6rem;
  font-weight: 600;
}

/* ============================================
   Pillar / card grid — sharp corners
   ============================================ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 820px) {
  .pillar-grid { grid-template-columns: 1fr; }
}

.pillar-card {
  background: var(--white);
  padding: 2.2rem 1.8rem;
  border-radius: 2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 3px solid var(--ink);
}
.pillar-card:hover {
  transform: translateY(-3px);
  border-top-color: var(--amber);
}
.pillar-card h3 { font-size: 1.2rem; margin-bottom: 0.2rem; font-weight: 800; }
.pillar-card p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 0.4rem; font-weight: 500; }

/* ============================================
   Checklist / self-check
   ============================================ */
.check-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.check-list li {
  background: transparent;
  border-top: 1.5px solid var(--ink);
  padding: 1.2rem 0;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  font-size: 1.02rem;
  font-weight: 500;
}
.check-list li:last-child { border-bottom: 1.5px solid var(--ink); }
.check-list .num {
  font-family: var(--display);
  color: var(--amber);
  font-weight: 800;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.callout {
  background: var(--parchment-deep);
  border-radius: 2px;
  padding: 1.5rem 1.8rem;
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 1.5rem 0;
  font-weight: 500;
}
.callout strong { color: var(--ink); font-weight: 800; }

/* ============================================
   Rules list (charities)
   ============================================ */
.rules-list {
  counter-reset: rule;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rules-list li {
  counter-increment: rule;
  background: transparent;
  border-top: 1.5px solid var(--ink);
  padding: 1.3rem 0 1.3rem 3.2rem;
  position: relative;
  font-size: 1.02rem;
  font-weight: 500;
}
.rules-list li:last-child { border-bottom: 1.5px solid var(--ink); }
.rules-list li::before {
  content: counter(rule);
  position: absolute;
  left: 0;
  top: 1.25rem;
  font-family: var(--display);
  font-weight: 800;
  color: var(--amber);
  font-size: 1.15rem;
}

/* ============================================
   Action box
   ============================================ */
.action-box {
  background: var(--ink);
  color: var(--parchment);
  border-radius: 2px;
  padding: 2rem 2.2rem;
  margin: 2.5rem 0;
}
.action-box .section-eyebrow { color: var(--amber); }
.action-box p { color: var(--parchment-deep); margin-bottom: 0; font-weight: 500; }
.action-box strong { color: var(--white); font-weight: 800; }

/* ============================================
   Bands (full-width tinted sections)
   ============================================ */
.band-sage {
  background: var(--sage);
  color: var(--white);
}
.band-sage h2, .band-sage .section-eyebrow { color: var(--white); }
.band-sage .lede { color: rgba(255,255,255,0.85); }

.band-ink {
  background: var(--ink);
  color: var(--parchment);
  text-align: center;
}
.band-ink h2 { color: var(--white); }
.band-ink .closing-sub { color: var(--parchment-deep); max-width: 50ch; margin: 0 auto 2rem; font-weight: 500; }
.band-ink .section-eyebrow { color: var(--amber); }

/* ============================================
   Resource cards
   ============================================ */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.resource-card {
  background: var(--white);
  border-radius: 2px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 3px solid var(--ink);
}
.resource-tag {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: var(--amber);
}
.resource-card h3 { font-size: 1.1rem; margin-bottom: 0.2rem; font-weight: 800; }
.resource-card p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0.6rem; font-weight: 500; }
.resource-card .btn { align-self: flex-start; padding: 0.6rem 1.2rem; font-size: 0.82rem; }

/* ============================================
   Social icons
   ============================================ */
.social-icons {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease;
}
.social-icons a:hover {
  transform: scale(1.1);
}
.social-icons a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Nav social */
.nav-social { margin-left: 0.6rem; }
.nav-social a { color: var(--ink-soft); }
.nav-social a:hover { color: var(--amber); }

/* Hero social */
.hero-social { margin-top: 1.6rem; }
.hero-social a {
  color: var(--ink-soft);
  border: 1.5px solid rgba(10,10,10,0.15);
}
.hero-social a:hover {
  color: var(--amber);
  border-color: var(--amber);
}

/* Footer social */
.footer-social { justify-content: center; margin-bottom: 1.2rem; }
.footer-social a {
  color: var(--parchment-deep);
  border: 1.5px solid rgba(242,240,235,0.2);
}
.footer-social a:hover {
  color: var(--amber);
  border-color: var(--amber);
}

@media (max-width: 820px) {
  .nav-social { display: none; }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--ink);
  color: var(--parchment-deep);
  padding: 3.5rem 6vw 2.5rem;
}
.footer-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.footer-logo img { height: 30px; }
.footer-inner p { font-size: 0.86rem; color: var(--grey); max-width: 50ch; margin: 0 auto 1.5rem; font-weight: 500; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
  font-weight: 600;
}
.footer-links a:hover { color: var(--amber); }

@media (max-width: 600px) {
  .section { padding: 3.5rem 6vw; }
}

/* ============================================
   Visual polish & engagement enhancements
   ============================================ */

/* Softer, warmer card shadows with stronger hover lift */
.pillar-card {
  box-shadow: 0 1px 3px rgba(10,10,10,0.04);
}
.pillar-card:hover {
  box-shadow: 0 12px 30px rgba(10,10,10,0.10);
}
.resource-card {
  box-shadow: 0 1px 3px rgba(10,10,10,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-top-color 0.2s ease;
}
.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(10,10,10,0.10);
  border-top-color: var(--amber);
}

/* Alternating section background for visual rhythm */
.section-tint {
  background: var(--parchment-deep);
}

/* Scroll-reveal fade-in */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Gurbani feature block subtle background lift */
.gurbani-feature {
  background: var(--white);
  border-radius: 3px;
  box-shadow: 0 2px 20px rgba(10,10,10,0.05);
  padding: 2.8rem 2.4rem;
}

/* Buttons get a subtle shadow for depth */
.btn-primary {
  box-shadow: 0 4px 14px rgba(255,77,0,0.25);
}
.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(255,77,0,0.35);
}

/* Hero mark gentle float animation */
@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-mark {
  animation: gentle-float 5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-mark { animation: none; }
}

/* Pillar links slide arrow on hover */
.pillar-link {
  transition: gap 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.pillar-card:hover .pillar-link {
  gap: 0.6rem;
}

/* ============================================
   Contact form
   ============================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 2rem;
  max-width: 560px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-field label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}
.form-field input,
.form-field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid rgba(10,10,10,0.15);
  border-radius: 2px;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(255,77,0,0.12);
}
.form-field textarea {
  min-height: 150px;
  resize: vertical;
}
.contact-form .btn {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}
.form-note {
  font-size: 0.85rem;
  color: var(--sage);
  margin-top: 0.5rem;
}
.form-success {
  background: var(--parchment-deep);
  border-left: 3px solid var(--amber);
  padding: 1.5rem 1.8rem;
  border-radius: 2px;
  margin-top: 2rem;
}
.form-success h2 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.form-success p { margin-bottom: 0; color: var(--ink-soft); }
