/* foxhuntgear.com: dark ink with RF.Guru gold. System fonts only, no scripts. */

:root {
  color-scheme: dark;
  --bg: #08090c;
  --surface: #11141b;
  --line: rgb(255 255 255 / 0.1);
  --text: #e2e8f0;
  --text-2: #cbd5e1;
  --muted: #94a3b8;
  --gold: #e5a823;
  --gold-hi: #ecc34a;
  --gold-pale: #f2d886;
  --radius: 1rem;
  --wrap: 70rem;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
}

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

a {
  color: var(--gold-hi);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--gold-pale);
}

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
}

.skip:focus {
  top: 1rem;
}

/* Header */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-name span {
  color: var(--gold-hi);
}

.brand-by {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
}

.site-nav a,
.footer-nav a {
  padding-block: 0.5rem;
  color: var(--text-2);
  text-decoration: none;
}

.site-nav a:hover,
.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 60% at 78% 40%, rgb(229 168 35 / 0.17), rgb(229 168 35 / 0) 70%);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: 2rem 4rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold-hi);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lead {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.75rem;
  background: var(--gold);
  color: var(--bg);
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  background: var(--gold-hi);
  color: var(--bg);
}

.btn-quiet {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.24);
}

.btn-quiet:hover {
  background: rgb(255 255 255 / 0.06);
  color: #fff;
}

.hero-photo {
  margin: 0;
  justify-self: center;
  text-align: center;
}

.hero-photo img {
  width: clamp(8.5rem, 30vw, 14.5rem);
  margin-inline: auto;
  filter: drop-shadow(0 24px 32px rgb(0 0 0 / 0.6));
}

.hero-photo figcaption {
  max-width: 18rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Sections */

.section {
  padding-block: 4rem;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.section-lead {
  max-width: 42rem;
  margin: 0.75rem 0 0;
}

.cards {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.card h3 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
}

.card p {
  margin: 0;
}

/* The note and the button sit at the foot of the card, level across the row. */
.card-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.band {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
}

.band-m {
  color: var(--gold-hi);
  font-size: 2.25rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.02em;
}

.band-f {
  color: var(--muted);
  font-size: 0.9rem;
}

.specs {
  margin: 0;
  font-size: 0.95rem;
}

.specs div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.1rem;
  padding-block: 0.55rem;
  border-top: 1px solid var(--line);
}

.specs dt {
  color: var(--muted);
}

.specs dd {
  margin: 0;
  color: var(--text);
}

.source,
.status,
.note,
.fine {
  color: var(--muted);
  font-size: 0.9rem;
}

.note,
.fine {
  max-width: 46rem;
  margin: 2rem 0 0;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

/* Footer */

.site-footer {
  padding-block: 2.5rem 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.footer-brand {
  margin: 0;
  color: var(--text);
}

.footer-brand strong {
  color: #fff;
}

.legal {
  max-width: 60rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.legal a {
  color: inherit;
}

/* Plain pages: privacy, 404 */

.page {
  max-width: 44rem;
  padding-block: 2.5rem 4rem;
}

.page h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
}

.page h2 {
  margin-top: 2.25rem;
  font-size: 1.25rem;
}

.page p {
  margin: 0.75rem 0 0;
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.notfound {
  padding-block: 5rem 6rem;
  text-align: center;
}

.notfound .actions {
  justify-content: center;
  margin-top: 2rem;
}

/* Wider screens */

@media (min-width: 30rem) {
  .specs div {
    grid-template-columns: 8.5rem 1fr;
    gap: 1rem;
  }
}

@media (min-width: 48rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    padding-block: 3.5rem 5.5rem;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card {
    padding: 2rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .site-nav a,
  .footer-nav a {
    transition: background-color 0.15s, color 0.15s;
  }
}
