@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@700&display=swap');

:root {
  --bg: #0b211b;
  --panel: #102c24;
  --line: #2d5145;
  --ink: #f4f0e4;
  --muted: #b5c7bf;
  --dim: #8fad9f;
  --accent: #c5a365;
}

.ranch-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.3;
}
.ranch-brand-logo {
  display: block;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 8px;
  background: #102c24;
}
.ranch-brand-copy { display: block; min-width: 0; }
.ranch-brand-title {
  display: block;
  color: var(--accent);
  font: 700 20px/1.15 'Roboto Slab', Georgia, serif;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.ranch-brand-byline {
  display: block;
  margin-top: 5px;
  font: 500 11px/1.4 var(--font, Arial, sans-serif);
  letter-spacing: .07em;
}
.ranch-brand-former {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font: 400 10px/1.4 var(--font, Arial, sans-serif);
  letter-spacing: .03em;
}
.ranch-brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

@media (min-width: 721px) {
  .header .ranch-brand-title, .header nav a, .header > .button { white-space: nowrap; }
}
@media (min-width: 721px) and (max-width: 1240px) {
  .header { flex-wrap: wrap; padding-block: 20px; }
  .header nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; gap: 18px; }
}
@media (max-width: 720px) {
  .ranch-brand { gap: 9px; }
  .ranch-brand-logo { width: 48px; height: 48px; }
  .ranch-brand-title { font-size: 15px; letter-spacing: .015em; }
  .ranch-brand-byline { font-size: 10px; margin-top: 3px; }
  .ranch-brand-former { font-size: 9px; }
  .header { padding-block: 12px; }
}
@media (max-width: 400px) {
  .header .ranch-brand-logo { width: 42px; height: 42px; }
  .header .ranch-brand-title { font-size: 13px; letter-spacing: 0; }
  .header .mobile-links { padding: 8px; gap: 5px; font-size: 10px; min-height: 38px; }
}
