﻿/* Kelowna Khalsa Sewa Society â€” brand: #01184B Â· #C18515 */

:root {
  --navy: #01184b;
  --navy-deep: #010f2e;
  --navy-mid: #0a2a6b;
  --gold: #c18515;
  --gold-soft: #d4a03a;
  --gold-pale: #f5e6c8;
  --white: #ffffff;
  --off: #faf8f4;
  --off-2: #f3efe6;
  --ink: #1a1f2e;
  --muted: #5c6478;
  --line: rgba(1, 24, 75, 0.1);
  --shadow: 0 18px 48px rgba(1, 24, 75, 0.1);
  --radius: 0.75rem;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Lato", system-ui, sans-serif;
  --header-h: 5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink);
  background-color: var(--off);
  background-image:
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(193, 133, 21, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 30% at 0% 40%, rgba(1, 24, 75, 0.04), transparent 50%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 0.35rem;
}

.skip-link:focus {
  top: 1rem;
}

/* â€”â€”â€” Header â€”â€”â€” */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand img {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}

.brand-tag {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.lang-toggle button {
  border: 0;
  background: transparent;
  padding: 0.45rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

/* EN — blue */
.lang-toggle button[data-lang="en"] {
  color: var(--navy);
}

.lang-toggle button[data-lang="en"].is-active {
  background: var(--navy);
  color: var(--white);
}

/* Punjabi — golden (logo colour) */
.lang-toggle button[data-lang="pa"] {
  color: var(--gold);
}

.lang-toggle button[data-lang="pa"].is-active {
  background: var(--gold);
  color: var(--navy-deep);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0.45rem;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  width: 1.1rem;
  height: 2px;
  background: var(--navy);
  display: block;
  transition: 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* â€”â€”â€” Buttons â€”â€”â€” */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  border-radius: 0.5rem;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(1, 24, 75, 0.22);
}

.btn-primary:hover {
  background: var(--navy-mid);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 10px 24px rgba(193, 133, 21, 0.28);
}

.btn-gold:hover {
  background: var(--gold-soft);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* â€”â€”â€” Layout â€”â€”â€” */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin: 0 0 0.5rem;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0;
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath fill='%23C18515' fill-opacity='0.08' d='M60 8 L64 40 L96 36 L68 52 L84 80 L60 62 L36 80 L52 52 L24 36 L56 40 Z'/%3E%3C/svg%3E");
  opacity: 1;
  pointer-events: none;
}

.page-hero .section-inner {
  position: relative;
}

.page-hero h1,
.page-hero .lede {
  color: var(--white);
}

.page-hero .lede {
  color: rgba(255, 255, 255, 0.82);
  max-width: 36rem;
}

.page-hero .eyebrow {
  color: var(--gold-soft);
}

/* --- Home hero --- */
.home-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: clamp(2.75rem, 6vw, 4.5rem) 1.25rem;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(193, 133, 21, 0.16), transparent 45%),
    linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
  z-index: 0;
}

.home-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath fill='%23C18515' fill-opacity='0.05' d='M60 8 L64 40 L96 36 L68 52 L84 80 L60 62 L36 80 L52 52 L24 36 L56 40 Z'/%3E%3C/svg%3E");
  pointer-events: none;
}

.home-hero-layout {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.home-hero-copy {
  text-align: left;
  padding-top: 0.25rem;
}

.home-hero-brand {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  color: var(--gold-soft);
  animation: rise 0.85s var(--ease) 0.1s both;
}

.home-hero-tag {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  animation: rise 0.85s var(--ease) 0.16s both;
}

.home-hero h1 {
  color: var(--white);
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  margin-bottom: 0.85rem;
  animation: rise 0.85s var(--ease) 0.22s both;
}

.home-hero .lede {
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 1.35rem;
  max-width: 34rem;
  font-size: 1.02rem;
  animation: rise 0.85s var(--ease) 0.28s both;
}

.home-hero .btn-row { animation: rise 0.85s var(--ease) 0.34s both; }

.hero-photos { animation: rise 0.85s var(--ease) 0.3s both; }

.hero-rotator {
  position: relative;
  width: min(100%, 440px);
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 2px solid rgba(193, 133, 21, 0.55);
  background: #06102a;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.is-active { opacity: 1; z-index: 1; }

.hero-slide img,
.hero-thumb img,
.photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: none;
  animation: none;
}

.photo-sangat img {
  object-fit: cover;
  object-position: center center;
  background: #06102a;
}

.hero-thumb.photo-sangat img {
  object-fit: cover;
  object-position: center center;
}
.photo-kirtan img { object-position: center 40%; }
.photo-hall img { object-position: center 20%; }
.photo-langar img { object-position: center 36%; }
.photo-care img { object-position: center 38%; }
.photo-outreach img { object-position: center 42%; }

.hero-thumbs {
  display: flex;
  justify-content: flex-start;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.hero-thumb {
  width: 76px;
  height: 48px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.4rem;
  overflow: hidden;
  cursor: pointer;
  background: #06102a;
  opacity: 0.65;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}

.hero-thumb.is-active,
.hero-thumb:hover {
  opacity: 1;
  border-color: var(--gold-soft);
  transform: translateY(-2px);
}

.photo-frame {
  margin: 0;
  width: min(100%, 360px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--off-2);
}

.photo-frame img { aspect-ratio: 4 / 3; }

.photo-frame figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.mission-block {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.mission-block .photo-frame { justify-self: end; }

.seniors-grid,
.outreach-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.outreach-grid { grid-template-columns: 1.15fr 0.85fr; }

.seniors-spotlight .lede,
.outreach-grid .lede { margin-top: 0.75rem; }

/* â€”â€”â€” Mission / quick links â€”â€”â€” */
.mission-block p {
  color: var(--muted);
}

.khanda-panel {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--gold-soft);
  padding: 2rem;
  text-align: center;
}

.khanda-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 120 120'%3E%3Cpath fill='%23C18515' fill-opacity='0.15' d='M60 8 L64 40 L96 36 L68 52 L84 80 L60 62 L36 80 L52 52 L24 36 L56 40 Z'/%3E%3C/svg%3E") center / 140px no-repeat;
}

.khanda-panel p {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.35;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.quick-link {
  display: block;
  padding: 1.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}

.quick-link:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.quick-link .ql-icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
}

.quick-link h3 {
  margin-bottom: 0.35rem;
}

.quick-link p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* â€”â€”â€” Cards / pillars â€”â€”â€” */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
  border-color: rgba(193, 133, 21, 0.45);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 0.55rem;
  background: var(--navy);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card .meta {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

/* â€”â€”â€” Events â€”â€”â€” */
.event-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.event-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.event-date {
  text-align: center;
  background: var(--off-2);
  border-radius: 0.55rem;
  padding: 0.65rem 0.4rem;
}

.event-date .day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.event-date .month {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.25rem;
}

.event-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.event-item h3 {
  margin: 0 0 0.2rem;
  font-size: 1.2rem;
}

.event-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.event-time {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

/* â€”â€”â€” Committee â€”â€”â€” */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.person {
  text-align: center;
}

.person-photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: var(--off-2);
  border: 1px solid var(--line);
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person h3 {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
}

.person .role {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 700;
}

/* â€”â€”â€” Gallery â€”â€”â€” */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: #06102a;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: none;
}

.gallery-item.photo-sangat img {
  object-fit: cover;
  object-position: center center;
}

.gallery-item:hover img {
  transform: none;
}

.gallery-item:hover img {
  transform: none;
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem 0.85rem 0.75rem;
  background: linear-gradient(transparent, rgba(1, 15, 46, 0.75));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
}

/* â€”â€”â€” Forms â€”â€”â€” */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: var(--off);
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-success {
  display: none;
  padding: 1rem;
  border-radius: 0.5rem;
  background: var(--gold-pale);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 1rem;
}

.form-success.is-visible {
  display: block;
}

.donate-points {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.donate-points li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.35rem;
  color: var(--muted);
  font-size: 1rem;
}

.donate-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-list a,
.contact-list div {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list .label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.contact-list .value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  background: var(--off-2);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.social-row a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.newsletter {
  background: var(--navy);
  color: var(--white);
}

.newsletter h2 {
  color: var(--white);
}

.newsletter .lede {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 32rem;
}

.newsletter-form input {
  flex: 1 1 12rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* â€”â€”â€” Footer â€”â€”â€” */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
}

.footer-brand span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.footer-col h4 {
  margin: 0 0 0.85rem;
  color: var(--white);
  font-size: 1rem;
}

.footer-col a {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* â€”â€”â€” Reveal â€”â€”â€” */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes seal-in {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.09) translateY(-1%);
  }
}

/* â€”â€”â€” Responsive â€”â€”â€” */
@media (max-width: 960px) {
  .mission-block,
  .split-2,
  .footer-grid,
  .seniors-grid,
  .outreach-grid,
  .home-hero-layout {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    text-align: center;
  }

  .home-hero .btn-row {
    justify-content: center;
  }

  .hero-thumbs {
    justify-content: center;
  }

  .hero-rotator {
    width: min(100%, 420px);
    margin: 0 auto;
  }

  .mission-block .photo-frame,
  .seniors-grid .photo-frame,
  .outreach-grid .photo-frame {
    justify-self: center;
  }

  .card-grid,
  .quick-links,
  .people-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .brand-text {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(250, 248, 244, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav ul a {
    display: block;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .btn {
    margin-top: 0.85rem;
    width: 100%;
  }

  .event-item {
    grid-template-columns: 4.5rem 1fr;
  }

  .event-time {
    grid-column: 2;
  }

  .home-hero {
    padding-top: 2rem;
  }

  .hero-rotator {
    width: min(100%, 300px);
  }

  .photo-frame {
    width: min(100%, 340px);
  }
}

@media (max-width: 560px) {
  .card-grid,
  .quick-links,
  .people-grid,
  .gallery-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
