/* ===================================================================
   RUNNING NACHO'S — design system
   Rugged sports-poster aesthetic: black/orange/cream, brush textures,
   condensed poster type, trail-route motif (canicross theme).
=================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Work+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* colors */
  --bg-dark: #121110;
  --bg-darker: #0a0908;
  --bg-cream: #f3ede0;
  --bg-cream-2: #ece4d0;
  --ink: #1a1512;
  --white: #f7f4ec;
  --orange: #e8672a;
  --orange-deep: #b8441c;
  --orange-bright: #f2932f;
  --line: rgba(247, 244, 236, 0.14);
  --line-dark: rgba(26, 21, 18, 0.14);

  /* type */
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', Arial, sans-serif;

  /* layout */
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0.5px;
  margin: 0 0 0.4em;
  text-transform: uppercase;
}
p { line-height: 1.6; margin: 0 0 1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow .paw { width: 14px; height: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--orange);
  color: var(--bg-darker);
}
.btn-primary:hover { background: var(--orange-bright); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-ghost:hover { background: var(--line-dark); transform: translateY(-2px); }
.btn-ghost.on-dark { color: var(--white); }
.btn-ghost.on-dark:hover { background: var(--line); }

/* ---------- nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-darker);
  border-bottom: 3px solid var(--orange);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.nav-brand img { height: 46px; width: 46px; border-radius: 50%; }
.nav-brand-text {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1;
}
.nav-brand-text span { color: var(--orange); display: block; font-size: 12px; letter-spacing: 3px; font-family: var(--font-body); font-weight: 700; margin-top: 3px; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--orange);
  transition: width 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--orange); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-darker);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border-bottom: 3px solid var(--orange);
  }
  .nav-links.open { max-height: 420px; }
  .nav-links a { display: block; padding: 14px var(--pad); border-top: 1px solid var(--line); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--bg-darker);
  color: var(--white);
  padding: 90px var(--pad) 110px;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(232,103,42,0.18), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(232,103,42,0.12), transparent 55%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.hero .eyebrow { justify-content: center; margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(46px, 8vw, 92px);
  color: var(--white);
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero .lede {
  font-size: 19px;
  color: rgba(247,244,236,0.8);
  max-width: 560px;
  margin: 22px auto 34px;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* brush stroke divider between sections */
.brush-divider {
  height: 46px;
  width: 100%;
  display: block;
}

/* ---------- trail route motif ---------- */
.trail-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  color: var(--orange-deep);
}
.trail-rule svg { flex-shrink: 0; }
.trail-rule .txt {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
}
.trail-rule::after {
  content: "";
  flex: 1;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, currentColor 0 10px, transparent 10px 18px);
}

/* ---------- sections ---------- */
section { padding: 84px 0; }
.section-dark { background: var(--bg-dark); color: var(--white); }
.section-cream { background: var(--bg-cream); }
.section-cream-2 { background: var(--bg-cream-2); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 5vw, 52px); }
.section-dark .section-head h2 { color: var(--white); }

/* ---------- cards: disciplines ---------- */
.disc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 860px) { .disc-grid { grid-template-columns: 1fr; } }

.disc-card {
  background: var(--bg-darker);
  color: var(--white);
  border-radius: 6px;
  padding: 34px 28px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color .2s ease;
}
.disc-card:hover { transform: translateY(-6px); border-color: var(--orange); }
.disc-card .num {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--orange);
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}
.disc-card h3 { font-size: 30px; color: var(--white); margin-bottom: 10px; }
.disc-card p { color: rgba(247,244,236,0.75); font-size: 15px; margin-bottom: 0; }
.disc-card .icon { width: 54px; height: 54px; margin-bottom: 18px; }

/* ---------- board / team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  padding: 26px 22px;
  text-align: left;
}
.team-card .avatar {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--bg-darker);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 16px;
}
.team-card .role {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--orange-deep);
  margin-bottom: 4px;
  display: block;
}
.team-card h3 { font-size: 22px; margin-bottom: 0; }

/* ---------- generic content blocks ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.pillar-list { list-style: none; margin: 0; padding: 0; }
.pillar-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line-dark);
}
.section-dark .pillar-list li { border-top: 1px solid var(--line); }
.pillar-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.section-dark .pillar-list li:last-child { border-bottom: 1px solid var(--line); }
.pillar-list .paw { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--orange); }
.pillar-list strong { display: block; font-family: var(--font-display); font-size: 18px; letter-spacing: 0.5px; margin-bottom: 2px; }

/* photo frame */
.photo-frame {
  border: 6px solid var(--bg-darker);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- events ---------- */
.event-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
}
.event-row:last-child { border-bottom: 1px solid var(--line-dark); }
.event-date {
  font-family: var(--font-display);
  text-align: center;
  background: var(--bg-darker);
  color: var(--white);
  border-radius: 6px;
  padding: 10px 4px;
}
.event-date .day { font-size: 28px; display: block; color: var(--orange); }
.event-date .mon { font-size: 12px; letter-spacing: 2px; }
.event-info h3 { font-size: 20px; margin-bottom: 4px; }
.event-info p { margin: 0; font-size: 14px; color: #55483c; }
.event-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--bg-darker);
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .event-row { grid-template-columns: 70px 1fr; }
  .event-tag { grid-column: 2; justify-self: start; }
}

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
  aspect-ratio: 1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247,244,236,0.5);
  font-family: var(--font-body);
  font-size: 13px;
  text-align: center;
  padding: 10px;
}

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 18px; max-width: 560px; }
.form-row { display: grid; gap: 8px; }
.form-row label {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--orange-deep);
}
.form-row input, .form-row textarea, .form-row select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 14px;
  border: 2px solid var(--line-dark);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  border-color: var(--orange);
  outline: none;
}
.form-note { font-size: 13px; color: #6b5c4c; }

/* ---------- info strip ---------- */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 20px;
}
@media (max-width: 760px) { .info-strip { grid-template-columns: 1fr; } }
.info-strip .item { border-top: 3px solid var(--orange); padding-top: 14px; }
.info-strip .item .big { font-family: var(--font-display); font-size: 34px; display: block; }
.info-strip .item .small { font-size: 13px; color: #6b5c4c; }
.section-dark .info-strip .item .small { color: rgba(247,244,236,0.7); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--orange);
  color: var(--bg-darker);
  text-align: center;
  padding: 64px var(--pad);
}
.cta-band h2 { font-size: clamp(30px, 5vw, 48px); }
.cta-band .btn-primary { background: var(--bg-darker); color: var(--white); }
.cta-band .btn-primary:hover { background: #000; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-darker);
  color: rgba(247,244,236,0.7);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 44px; width: 44px; border-radius: 50%; }
.footer-brand span { font-family: var(--font-display); color: var(--white); font-size: 19px; letter-spacing: 1px; }
.footer-col h4 {
  font-family: var(--font-body);
  color: var(--white);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 13px;
}
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.social-row a:hover { border-color: var(--orange); color: var(--orange); }

/* page hero (interior pages) */
.page-hero {
  background: var(--bg-darker);
  color: var(--white);
  padding: 64px var(--pad) 56px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(38px, 7vw, 64px); color: var(--white); }
.page-hero .eyebrow { justify-content: center; margin-bottom: 14px; }
.page-hero p.lede { max-width: 560px; margin: 16px auto 0; color: rgba(247,244,236,0.75); }
