/* ============================================================
   Lone Buffalo — Static Site
   Colors and typography derived from original Semplice theme
   ============================================================ */

/* Webfonts (local copies in /static/webfonts/) */
@font-face {
  font-family: 'Austin News Headline Web';
  src: url('fonts/AustinNewsHeadline-Bold-Web.woff2') format('woff2'),
       url('fonts/AustinNewsHeadline-Bold-Web.woff') format('woff');
  font-weight: 600; font-style: normal;
}
@font-face {
  font-family: 'Austin News Headline Web';
  src: url('fonts/AustinNewsHeadline-BoldItalic-Web.woff2') format('woff2'),
       url('fonts/AustinNewsHeadline-BoldItalic-Web.woff') format('woff');
  font-weight: 600; font-style: italic;
}
@font-face {
  font-family: 'Graphik Web';
  src: url('fonts/Graphik-Semibold-Web.woff2') format('woff2'),
       url('fonts/Graphik-Semibold-Web.woff') format('woff');
  font-weight: 600; font-style: normal;
}
@font-face {
  font-family: 'Graphik Web';
  src: url('fonts/Graphik-Regular-Web.woff2') format('woff2'),
       url('fonts/Graphik-Regular-Web.woff') format('woff');
  font-weight: 400; font-style: normal;
}
@font-face {
  font-family: 'AlternateGothicNo3Pro';
  src: url('https://tavcalico.com/lonebuffalo/webfonts/34BD2A_0_0.woff2') format('woff2'),
       url('https://tavcalico.com/lonebuffalo/webfonts/34BD2A_0_0.woff') format('woff');
  font-weight: 400;
}
@font-face {
  font-family: 'vulf_monoregular';
  src: url('fonts/vulfmono-bold-webfont.woff2') format('woff2'),
       url('fonts/vulfmono-bold-webfont.woff') format('woff');
  font-weight: normal;
}

/* ---- Variables ---- */
:root {
  --bg:     #f2f2f2;
  --dark:   #231914;
  --text:   #6e695f;
  --muted:  #969187;
  --red:    #f05a3c;
  --silver: #d8dad9;
  --border: #d7dad9;

  --font-headline: 'Austin News Headline Web', Georgia, serif;
  --font-body:     'Graphik Web', system-ui, sans-serif;
  --font-gothic:   'AlternateGothicNo3Pro', 'Arial Narrow', sans-serif;
  --font-mono:     'vulf_monoregular', 'Courier New', monospace;
}

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

html { font-size: 18px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Graphik Web', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.556;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--muted); }

img { display: block; max-width: 100%; }

/* ---- Navbar ---- */
#page-wrap {
  position: relative;
}

.navbar {
  background: var(--bg);
  height: 10rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.333rem;
}

.navbar .logo a { display: block; }
.navbar .logo svg { width: 10rem; height: auto; }

.navbar nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
}

.navbar nav ul li a {
  display: block;
  padding: 0 1.667rem;
  font-family: 'vulf_monoregular', 'Courier New', monospace;
  font-size: 0.833rem;
  text-transform: uppercase;
  letter-spacing: 0.056rem;
  color: var(--text);
  transition: color 0.2s;
}

.navbar nav ul li a:hover,
.navbar nav ul li.active a {
  color: var(--muted);
}

.navbar nav ul li.active a {
  box-shadow: inset 0 -2px 0 0 var(--border);
}

.page-content {
  margin-top: 0;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--bg);
  padding: 0.833rem 3.333rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer .footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-footer p,
.site-footer a {
  font-family: 'vulf_monoregular', 'Courier New', monospace;
  font-size: 0.778rem;
  line-height: 0.778rem;
  color: var(--muted);
  letter-spacing: 0.056rem;
  text-transform: uppercase;
}

.site-footer .footer-logo svg { width: 3.5rem; height: auto; }

/* ---- Hero Sections ---- */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 11.667rem 3.333rem 6.667rem;
  min-height: 80vh;
}

.hero-white { color: var(--silver); }
.hero-red   { color: var(--red); }

.hero h1 {
  font-family: 'Austin News Headline Web', Georgia, serif;
  font-weight: 600;
  font-size: 4rem;
  line-height: 1;
  color: inherit;
  hyphens: auto;
}

.hero h1.italic { font-style: italic; }

.hero .sub {
  font-family: 'vulf_monoregular', 'Courier New', monospace;
  font-size: 0.833rem;
  letter-spacing: 0.111rem;
  text-transform: uppercase;
  margin-top: 1.111rem;
  color: inherit;
}

.hero .arrow {
  margin-top: 3.333rem;
}

.hero .arrow img,
.hero .arrow svg {
  width: 2.5rem;
  height: auto;
  display: inline-block;
}

/* ---- Offerings Split ---- */
.offerings-split {
  display: flex;
}

.offerings-split .panel {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 11.667rem 2rem 6.667rem;
  text-decoration: none;
  transition: opacity 0.3s;
}

.offerings-split .panel .panel-logo {
  width: auto;
  max-width: 100%;
}

.read-the-wind { mix-blend-mode: exclusion; }
.scout-logo { mix-blend-mode: multiply; }
.logo-hover img:hover { opacity: 0.75; transition: opacity 0.3s cubic-bezier(.25, .01, 0.25, 1); }
.offerings-split .panel a { display: block; }

.offerings-split .panel .panel-sub {
  font-family: 'vulf_monoregular', 'Courier New', monospace;
  font-size: 0.833rem;
  letter-spacing: 0.111rem;
  text-transform: uppercase;
  margin-top: 1.5rem;
  margin-bottom: 3.333rem;
}

.panel-sentry .panel-sub { color: var(--silver); }
.panel-scout  .panel-sub { color: var(--red); }

.offerings-split .panel .panel-arrow {
  width: 2.5rem;
}

/* ---- Content sections ---- */
.content-section {
  padding: 5.556rem 3.333rem;
  max-width: 1260px;
  margin: 0 auto;
}

.content-section.dark {
  background: var(--dark);
  max-width: none;
  color: var(--silver);
}

.section-label {
  font-family: 'vulf_monoregular', 'Courier New', monospace;
  font-size: 0.833rem;
  letter-spacing: 0.111rem;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

h1 {
  font-family: 'Austin News Headline Web', Georgia, serif;
  font-weight: 600;
  font-size: 4rem;
  line-height: 1;
  color: var(--dark);
  hyphens: auto;
}

h2 {
  font-family: 'Graphik Web', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.556rem;
  line-height: 2rem;
  color: var(--dark);
}

h3 {
  font-family: 'vulf_monoregular', 'Courier New', monospace;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: var(--dark);
}

h4 {
  font-family: 'AlternateGothicNo3Pro', 'Arial Narrow', sans-serif;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.111rem;
  text-transform: uppercase;
  color: var(--dark);
}

p {
  font-family: 'Graphik Web', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.556;
  color: var(--text);
  margin-bottom: 1.556em;
}

/* ---- CTA Arrow Link ---- */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'vulf_monoregular', 'Courier New', monospace;
  font-size: 0.833rem;
  letter-spacing: 0.111rem;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 2rem;
}

.cta-link img { width: 2rem; }
.cta-link:hover { color: var(--muted); }

/* ---- Two column ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

/* ---- Team grid ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.team-member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 1rem;
}

.team-member h4 { margin-bottom: 0.25rem; }
.team-member p { font-size: 0.889rem; margin: 0; }

/* ---- Stats row ---- */
.stats-row {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.stat img { height: 4rem; width: auto; }

/* ---- Contact info ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-block h3 { margin-bottom: 1rem; }

.contact-block p {
  margin-bottom: 0.5rem;
  font-size: 0.944rem;
}

/* ---- Three feature columns ---- */
.feature-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.feature h3 { margin-bottom: 1rem; }

/* ---- Partner logos ---- */
.partner-logos {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.partner-logos img { height: 2rem; width: auto; opacity: 0.7; }

/* ---- Credits ---- */
.credits-list { margin-top: 3rem; }
.credit-item { margin-bottom: 2rem; }
.credit-item a { color: var(--text); text-decoration: underline; }
.credit-item p { margin: 0.25rem 0 0; font-size: 0.889rem; }

/* ---- Hero fullscreen variant ---- */
.hero.fullscreen { min-height: 100vh; }

/* ---- Silver & muted background sections ---- */
.content-section.silver {
  background: var(--silver);
  max-width: none;
}

.content-section.muted-bg {
  background: var(--text);
  max-width: none;
  color: var(--silver);
}
.content-section.muted-bg h1,
.content-section.muted-bg h2,
.content-section.muted-bg h3,
.content-section.muted-bg h4,
.content-section.muted-bg p { color: var(--silver); }

/* ---- Full-width CTA section ---- */
.section-cta { background: var(--text); }
.section-cta a {
  display: block;
  padding: 8rem 2rem;
  font-family: 'vulf_monoregular', 'Courier New', monospace;
  font-size: 1rem;
  letter-spacing: 0.056rem;
  text-transform: uppercase;
  color: var(--silver);
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.section-cta a:hover { background: var(--dark); color: var(--muted); }

/* ---- Bordered CTA buttons ---- */
.btn-outline {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.667rem 1.389rem;
  border: 0.056rem solid var(--bg);
  border-radius: 55.5rem;
  font-family: 'vulf_monoregular', 'Courier New', monospace;
  font-size: 0.833rem;
  letter-spacing: 0.056rem;
  text-transform: uppercase;
  color: var(--bg);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--bg); color: var(--dark); }
.btn-outline.on-light {
  border-color: var(--text);
  color: var(--text);
}
.btn-outline.on-light:hover { background: var(--text); color: var(--bg); }

/* ---- Team member icons ---- */
.team-member .icons { display: flex; gap: 1rem; margin-top: 0.75rem; }
.team-member .icons a img { height: 1.2rem; width: auto; }

/* ---- Stat graphic (365 Days / Tailored by Hand) ---- */
.stat-graphic { display: block; margin: 2rem auto 0; max-width: 22rem; }

/* ---- Hero large headline (italic allowed) ---- */
.hero-headline {
  font-family: 'Austin News Headline Web', Georgia, serif;
  font-weight: 600;
  font-size: 4.778rem;
  line-height: 1;
  text-align: center;
  color: var(--silver);
  hyphens: auto;
  margin-bottom: 0.5rem;
}
.hero-headline em { font-style: italic; }

/* ---- Hero body text ---- */
.hero-body {
  font-family: 'Graphik Web', system-ui, sans-serif;
  font-size: 1.778rem;
  line-height: 2.333rem;
  text-align: center;
  color: var(--silver);
  max-width: 60rem;
  margin: 0 auto;
}

/* ---- Language note ---- */
.language-note {
  font-family: 'Graphik Web', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.889rem;
  color: var(--muted);
  text-align: center;
  margin-top: 2rem;
}

/* ---- Transparent navbar variant (hero pages) ---- */
/* position:absolute overlays the hero without pushing it down, and scrolls away naturally */
.navbar.hero-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  background: transparent;
}
.navbar.hero-nav nav ul li a { color: var(--silver); }
.navbar.hero-nav nav ul li a:hover,
.navbar.hero-nav nav ul li.active a { color: var(--bg); }

/* ---- Light gray content section (sentry/scout features) ---- */
.content-section.light-gray {
  background: #e8e8e8;
  max-width: none;
}

/* ---- Dual CTA section (two half-width buttons) ---- */
.section-dual-cta { display: flex; }
.section-dual-cta .cta-half { flex: 1; }
.section-dual-cta .cta-half a {
  display: block;
  padding: 8rem 2rem;
  font-family: 'vulf_monoregular', 'Courier New', monospace;
  font-size: 1rem;
  letter-spacing: 0.056rem;
  text-transform: uppercase;
  color: var(--silver);
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.section-dual-cta .cta-half a:hover { background: var(--dark); color: var(--muted); }
.section-dual-cta .cta-half.bg-text  { background: var(--text); }
.section-dual-cta .cta-half.bg-muted { background: var(--muted); }

/* ---- Responsive ---- */
@media (max-width: 767px) {
  html { font-size: 16px; }

  .navbar {
    padding: 0 1.5rem;
    height: 7rem;
  }
  .navbar nav ul li a { padding: 0 0.75rem; font-size: 0.75rem; }

  .offerings-split { flex-direction: column; }
  .offerings-split .panel .panel-logo { max-width: 70%; }

  .two-col,
  .team-grid,
  .contact-grid,
  .feature-cols { grid-template-columns: 1fr; }

  .section-dual-cta { flex-direction: column; }

  .site-footer { padding: 1.5rem; }
  .content-section { padding: 3rem 1.5rem; }
  h1 { font-size: 3rem; }
}
