/* ============================================================
   F3 Upcountry — Squarespace Custom CSS
   Paste everything between the dashed lines into:
   Squarespace > Design > Custom CSS
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #111111;
  --yellow:  #F5C300;
  --white:   #FFFFFF;
  --gray:    #F2F2F2;
  --dark:    #1C1C1C;
  --muted:   #666666;
  --radius:  6px;
  --max-w:   1100px;
  --nav-h:   84px;
  --font:    'Montserrat', 'Arial Black', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--dark  { background: var(--dark); color: var(--white); }
.section--gray  { background: var(--gray); }
.section--black { background: var(--black); color: var(--white); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 48px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section--dark  .section-subtitle,
.section--black .section-subtitle { color: rgba(255,255,255,0.55); }

.accent { color: var(--yellow); }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  border: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn--yellow  { background: var(--yellow); color: var(--black); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn--outline:hover { background: var(--white); color: var(--black); }
.btn--dark    { background: var(--dark); color: var(--white); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--black);
  display: flex;
  align-items: center;
}

.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid rgba(255,255,255,0.18);
  box-shadow: 0 0 0 2px var(--yellow), 0 4px 18px rgba(245,195,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-shrink: 0;
  transition: box-shadow 0.25s, transform 0.25s;
}
.nav__logo-circle:hover {
  box-shadow: 0 0 0 3px var(--yellow), 0 6px 28px rgba(245,195,0,0.8);
  transform: scale(1.06);
}
.nav__logo-circle-f3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  letter-spacing: -1px;
}
.nav__logo-circle-name {
  font-size: 0.48rem;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--yellow); }

.nav__links a.nav__cta {
  background: var(--yellow);
  color: var(--black);
  padding: 8px 18px;
  border-radius: var(--radius);
}
.nav__links a.nav__cta:hover { opacity: 0.85; color: var(--black); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  z-index: 0;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(245,195,0,0.03) 40px,
      rgba(245,195,0,0.03) 41px
    );
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--yellow);
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero__title .line-yellow { color: var(--yellow); display: block; }

.hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.75;
  font-weight: 400;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero__emblem {
  width: 180px;
  height: 180px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 0 0 12px rgba(245,195,0,0.12), 0 0 0 24px rgba(245,195,0,0.06);
}

.hero__emblem-img {
  width: 360px;
  height: 360px;
  object-fit: contain;
  display: block;
}

.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 260px;
}

.hero__stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}

.hero__stat-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ---------- Pillars ---------- */
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar {
  background: var(--white);
  border-radius: 10px;
  padding: 36px 28px;
  border: 1px solid #E8E8E8;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pillar:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.1); transform: translateY(-4px); }

.pillar__icon {
  width: 52px;
  height: 52px;
  background: var(--yellow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.pillar__title {
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.pillar__desc { font-size: 0.92rem; color: var(--muted); line-height: 1.7; }

/* ---------- Mission Band ---------- */
.mission-band {
  background: var(--yellow);
  padding: 48px 0;
  text-align: center;
}

.mission-band__label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(0,0,0,0.5);
  margin-bottom: 10px;
}

.mission-band__text {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--black);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* ---------- Locations ---------- */
.locations__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* AO header + day filter */
.ao-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.day-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.day-filter__btn {
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 99px;
  border: 2px solid var(--black);
  background: transparent;
  color: var(--black);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.day-filter__btn:hover,
.day-filter__btn.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.location-card.hidden { display: none; }

.location-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #E8E8E8;
  transition: box-shadow 0.2s, transform 0.2s;
}
.section--dark .location-card  { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.location-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.14); transform: translateY(-3px); }

.location-card__header {
  background: var(--black);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section--dark .location-card__header { background: rgba(0,0,0,0.4); }

.location-card__name {
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.04em;
}

.location-card__days {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.location-card__day {
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--yellow);
  color: var(--black);
  padding: 3px 9px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.location-card__body { padding: 20px; }

.location-card__time {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.section--dark .location-card__time { color: var(--yellow); }

.location-card__detail {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 4px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.section--dark .location-card__detail { color: rgba(255,255,255,0.6); }

.location-card__icon { flex-shrink: 0; margin-top: 2px; }

/* ---------- FNG / Steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.step {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  padding: 28px 24px 28px 70px;
  border: 1px solid #E8E8E8;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 24px;
  width: 36px;
  height: 36px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
}

.step__title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.step__desc { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ---------- PAX Resources ---------- */
.resources__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.resource-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 22px;
  border: 1px solid #E8E8E8;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.resource-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-3px); }

.resource-card__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.resource-card__title {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.resource-card__desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background: var(--yellow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.contact-social__link {
  width: 42px;
  height: 42px;
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  font-size: 0.8rem;
  transition: background 0.2s;
}
.contact-social__link:hover { background: var(--yellow); color: var(--black); }

/* ---------- Form ---------- */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--black);
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E0E0E0;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  background: var(--white);
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

.form-textarea { resize: vertical; min-height: 130px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.footer__brand-region {
  font-size: 0.72rem;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}

.footer__brand-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 240px;
}

.footer__col-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--yellow);
  margin-bottom: 16px;
}

.footer__links li { margin-bottom: 10px; }
.footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--yellow); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__tagline {
  display: flex;
  gap: 20px;
}

.footer__tagline span {
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.footer__tagline span.y { color: var(--yellow); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--black);
  padding: 72px 0 56px;
  text-align: center;
}

.page-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--yellow);
  margin-bottom: 12px;
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
}

.page-hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  margin: 16px auto 0;
  line-height: 1.7;
}

/* ---------- Alert Banner ---------- */
.alert-banner {
  background: var(--yellow);
  padding: 10px 24px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__content    { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero__desc       { margin: 0 auto 36px; }
  .hero__actions    { justify-content: center; }
  .hero__badge-wrap { flex-direction: row; justify-content: center; }
  .hero__stats      { max-width: none; }
  .pillars__grid    { grid-template-columns: 1fr 1fr; }
  .footer__grid     { grid-template-columns: 1fr 1fr; }
  .contact-grid     { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav__links       { display: none; flex-direction: column; position: absolute;
                      top: var(--nav-h); left: 0; right: 0; background: var(--black);
                      padding: 20px 24px 28px; gap: 20px; border-top: 1px solid rgba(255,255,255,0.08); }
  .nav__links.open  { display: flex; }
  .nav__toggle      { display: flex; }
  .pillars__grid    { grid-template-columns: 1fr; }
  .footer__grid     { grid-template-columns: 1fr; }
  .hero__badge-wrap { flex-direction: column; align-items: center; width: 100%; }
  .hero__emblem-img { width: min(280px, 90vw); height: auto; }
  .hero__stats      { grid-template-columns: repeat(2, 1fr); width: min(280px, 90vw); }
}
