/* Yukon Territory Knights of Columbus — Gen-Z forward refresh */

:root {
  --void: #070a10;
  --charcoal: #0e1522;
  --navy: #0f2744;
  --navy-mid: #1a3a5c;
  --gold: #e8c547;
  --gold-deep: #c9a227;
  --cream: #f4f1ea;
  --mist: #a8b8cc;
  --white: #ffffff;
  --text: #e8edf5;
  --text-soft: rgba(232, 237, 245, 0.82);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-soft);
  background: var(--void);
}

a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

a:hover {
  color: var(--white);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--cream);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 197, 71, 0.22);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(232, 197, 71, 0.35));
}

.brand-title {
  margin: 0;
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.2;
  font-weight: 700;
}

.brand-motto {
  margin: 0.15rem 0 0;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  align-items: center;
}

.header-nav a {
  color: var(--mist);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--gold);
  text-decoration: none;
}

.header-cta {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: var(--void) !important;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-cta:hover {
  filter: brightness(1.08);
  text-decoration: none;
  color: var(--void) !important;
}

/* Shorter hero band: full-bleed scene + left scrim */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: clamp(240px, 28vw, 380px);
  max-height: min(380px, 45vh);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--void);
  overflow: hidden;
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 44% 40%;
}

/* Film grain over photo + scrim */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.008) 2px,
    rgba(255, 255, 255, 0.008) 3px
  );
  pointer-events: none;
  opacity: 0.08;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    92deg,
    rgba(4, 7, 12, 0.9) 0%,
    rgba(4, 7, 12, 0.42) min(14rem, 38vw),
    rgba(4, 7, 12, 0.12) min(30rem, 60vw),
    rgba(4, 7, 12, 0.35) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 3;
  flex: 1;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(0.5rem, 1.5vw, 0.85rem) clamp(0.85rem, 3vw, 1.5rem) clamp(0.65rem, 1.5vw, 0.85rem);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  align-self: stretch;
  box-sizing: border-box;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(21.5rem, calc(100vw - 1.5rem));
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-main {
  width: 100%;
  padding: clamp(0.65rem, 2vw, 1.1rem) clamp(0.75rem, 2.2vw, 1.15rem);
  background: rgba(10, 14, 22, 0.97);
  border: 1px solid rgba(232, 197, 71, 0.38);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  background: rgba(232, 197, 71, 0.12);
  border: 1px solid rgba(232, 197, 71, 0.35);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.hero-impact {
  margin: 0 0 0.5rem;
  line-height: 0.94;
}

.hero-impact-clean {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  /* Cap vw so type does not explode on wide monitors */
  font-size: clamp(1.65rem, 4.2vw, 2.85rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 4px 36px rgba(0, 0, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.9);
}

.hero-impact-spray {
  display: block;
  margin-top: 0.06em;
  font-family: "Rubik Spray Paint", "Permanent Marker", cursive;
  font-size: clamp(1.85rem, 4.8vw, 3.15rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f5d03a;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.98), 3px 4px 0 rgba(0, 0, 0, 0.5), 0 0 40px rgba(232, 197, 71, 0.45),
    -2px -1px 0 rgba(0, 0, 0, 0.35);
  transform: rotate(-1.35deg);
  transform-origin: 0 55%;
}

@media (max-width: 600px) {
  .hero-impact-spray {
    transform: rotate(-0.6deg);
    font-size: clamp(1.75rem, 7vw, 2.85rem);
  }
}

.hero-script {
  margin: 0 0 0.55rem;
  font-family: "Caveat", cursive;
  font-size: clamp(1rem, 2.6vw, 1.3rem);
  color: var(--cream);
  line-height: 1.3;
  max-width: none;
}

.hero-body {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: none;
  color: var(--text-soft);
}

.hero-emphasis {
  color: var(--gold);
  font-weight: 700;
}

.hero-quote {
  margin: 0 0 0.65rem;
  padding: 0.45rem 0 0 0.65rem;
  border-left: 2px solid var(--gold);
}

.hero-quote p {
  margin: 0;
  font-family: "Caveat", cursive;
  font-size: clamp(0.92rem, 2.4vw, 1.08rem);
  color: var(--gold);
  line-height: 1.32;
}

.hero-quote footer {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: var(--mist);
  font-style: normal;
}

.hero-loc {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 197, 71, 0.25);
  border-radius: 12px;
  max-width: none;
}

.hero-loc svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.hero-loc p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--cream);
}

@media (max-width: 959px) {
  .hero-photo {
    object-position: 46% 36%;
  }
}

@media (max-width: 640px) {
  .hero-photo {
    object-position: 48% 32%;
  }
}

/* Optional local banner */
.banner-strip.is-placeholder {
  display: none;
}

.banner-strip:not(.is-placeholder) img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}

/* Pillars */
.pillars {
  position: relative;
  margin-top: -2rem;
  padding: 3.25rem 1.25rem 3.25rem;
  background: linear-gradient(185deg, var(--charcoal) 0%, var(--navy) 55%, #0b1524 100%);
  border-top: 1px solid rgba(232, 197, 71, 0.2);
  clip-path: polygon(0 2rem, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 720px) {
  .pillars {
    margin-top: 0;
    clip-path: none;
    padding-top: 2.75rem;
  }
}

.section-label {
  text-align: center;
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.section-title {
  text-align: center;
  margin: 0 0 2rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--cream);
}

.pillars-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pillar {
  text-align: center;
  padding: 1.5rem 1rem 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: transform 0.2s, border-color 0.2s;
}

.pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 197, 71, 0.35);
}

.pillar-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(232, 197, 71, 0.08);
}

.pillar h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.pillar p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-soft);
}

/* Stats */
.stats {
  background: linear-gradient(90deg, #c9a227 0%, #e8c547 45%, #d4af37 100%);
  color: var(--void);
  padding: 2.25rem 1.25rem;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.stats h2 {
  margin: 0 0 1.75rem;
  color: var(--void);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.stat {
  padding: 1rem;
}

.stat strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.stat span {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0.9;
}

/* QR + quote + social */
.connect {
  background: var(--void);
  padding: 2.75rem 1.25rem;
}

.connect-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 900px) {
  .connect-inner {
    grid-template-columns: 220px 1fr auto;
  }
}

.qr-box {
  text-align: center;
}

.qr-box img {
  margin: 0 auto 0.75rem;
  border-radius: 12px;
  border: 3px solid rgba(232, 197, 71, 0.5);
}

.qr-box p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.45;
  color: var(--mist);
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.quote-teresa {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  line-height: 1.55;
}

.quote-teresa cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cream);
}

.social-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.social-row span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(232, 197, 71, 0.25);
  color: var(--gold);
  transition: background 0.2s, transform 0.2s;
}

.social-icons a:hover {
  background: rgba(232, 197, 71, 0.18);
  transform: translateY(-2px);
  text-decoration: none;
}

.social-icons svg {
  width: 22px;
  height: 22px;
}

/* Main content */
.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
  color: var(--text-soft);
}

.content h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.35rem;
  color: var(--cream);
}

.content h2:first-child {
  margin-top: 0;
}

.content p,
.content li {
  color: var(--text-soft);
}

.content a {
  color: var(--gold);
}

.content ul {
  padding-left: 1.2rem;
}

.sources {
  font-size: 0.9rem;
  color: var(--mist);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer-tagline {
  background: var(--charcoal);
  color: var(--gold);
  text-align: center;
  padding: 0.85rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-top: 1px solid rgba(232, 197, 71, 0.2);
}

.footer-cta {
  background: var(--navy);
  padding: 1.5rem 1.25rem;
}

.footer-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-cta a {
  color: var(--gold);
  font-size: 1.05rem;
}

.join {
  margin: 0;
  font-size: 1.1rem;
  color: var(--cream);
}

.join strong {
  color: var(--gold);
}

.site-footer {
  text-align: center;
  padding: 1.25rem;
  font-size: 0.8rem;
  color: var(--mist);
  background: var(--void);
}
