/* ===== Base ===== */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  overflow-x: hidden;
}

.text-balance {
  text-wrap: balance;
}

/* ===== Skip link ===== */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: #D6A233;
  color: #1C2024;
  padding: 0.65rem 1.1rem;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* ===== Focus states (kept visible everywhere) ===== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #D6A233;
  outline-offset: 3px;
  border-radius: 2px;
}

/* ===== Header ===== */
#site-header {
  background: transparent;
}
#site-header .header-eyebrow { color: rgba(255,255,255,0.75); }
#site-header .header-title { color: #ffffff; }
#site-header .nav-link {
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
#site-header .nav-link:hover { color: #D6A233; }
#site-header .header-menu-btn { color: #ffffff; }

#site-header.is-scrolled {
  background: rgba(28, 32, 36, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}
#site-header.is-scrolled .header-eyebrow { color: rgba(255,255,255,0.6); }

.mobile-link {
  display: block;
  padding: 0.85rem 0.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-link:hover { color: #D6A233; }

/* ===== Scroll cue ===== */
.scroll-cue {
  animation: bob 2.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; }
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -8px); }
}

/* ===== Program cards ===== */
.program-card {
  background: #FBF8F2;
  border: 1px solid rgba(28,32,36,0.1);
  border-radius: 4px;
  padding: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -18px rgba(28,32,36,0.25);
  border-color: rgba(28,32,36,0.18);
}
.program-card--cta {
  background: transparent;
  border: 1px dashed rgba(28,32,36,0.28);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.program-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 3px;
}
.program-icon.icon-gold {
  background-color: #D6A233;
  color: #1C2024;
}
.program-icon.icon-slate {
  background-color: #8A9BA6;
  color: #1C2024;
}
.program-icon.icon-brick {
  background-color: #A63D2F;
  color: #1C2024;
}

/* ===== Gallery ===== */
.gallery-tile {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  margin: 0;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-tile:hover img {
  transform: scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .gallery-tile:hover img { transform: none; }
}
.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,32,36,0.75) 0%, rgba(28,32,36,0) 45%);
  pointer-events: none;
}
.gallery-tile figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.75rem;
  z-index: 1;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== Footer ===== */
.footer-link {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s ease;
}
.footer-link:hover { color: #D6A233; }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.social-icon:hover {
  background: #D6A233;
  border-color: #D6A233;
  color: #1C2024;
}

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