/* fredmoore.me public landing - dark BAM styling */
@font-face {
  font-family: "Overpass";
  src: url("../assets/overpass-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #E71E25;
  --red-dark: #B4151B;
  --red-soft: rgba(231, 30, 37, 0.16);
  --cream: #FBF8F3;
  --cream-soft: #E9E6E0;
  --muted: #A8A49C;
  --bg: #121316;
  --bg-2: #18191D;
  --card: #1E1F24;
  --alt: #2A2B31;
  --line: #34353C;
  --font: "Overpass", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 72rem;
  --gut: clamp(1rem, 4vw, 2rem);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 0.75rem); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--cream);
  background: var(--bg);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: #FF8A8D; }
a:hover { color: #fff; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 0.6rem; color: #fff; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip {
  position: absolute; left: .5rem; top: -4rem; background: #fff; color: #121316;
  padding: .75rem 1rem; z-index: 100; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: .5rem; }
.kicker {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: .75rem;
}
.muted { color: var(--muted); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 19, 22, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; gap: 1rem; min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; min-width: 0;
}
.brand img { width: 34px; height: 34px; border-radius: 10px; background: #fff; }
.brand strong { font-size: .95rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand span { display: block; font-size: .7rem; color: var(--muted); font-weight: 600; }
.nav {
  margin-left: auto; display: flex; align-items: center; gap: .25rem; flex-wrap: wrap;
}
.header-actions {
  display: flex; align-items: center; gap: .45rem; flex-shrink: 0; margin-left: .35rem;
}
.nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 .7rem;
  color: var(--cream-soft); text-decoration: none; font-weight: 600; font-size: .92rem; border-radius: 999px;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; padding: .6rem 1.15rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream-soft); color: #fff; background: rgba(255,255,255,.04); }
.btn-login { min-height: 40px; padding: .45rem .95rem; font-size: .88rem; white-space: nowrap; }
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--cream);
  cursor: pointer;
  flex-shrink: 0;
  line-height: 0;
}
.menu-btn__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 12px;
}
.menu-btn__bars::before,
.menu-btn__bars::after,
.menu-btn__bars span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform .2s, opacity .2s;
}
.menu-btn__bars::before { top: 0; }
.menu-btn__bars span { top: 5px; }
.menu-btn__bars::after { bottom: 0; content: ""; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before {
  top: 5px; transform: rotate(45deg);
}
.menu-btn[aria-expanded="true"] .menu-btn__bars span { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after {
  bottom: 5px; transform: rotate(-45deg);
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: .5rem;
}
.hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--cream-soft); max-width: 36rem; margin-bottom: 1.35rem;
}
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.25rem 0 0; }
.hero-photo {
  position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden;
  border: 1px solid var(--line); background: var(--card); aspect-ratio: 4/5; max-width: 420px; margin-left: auto;
  box-shadow: 0 24px 60px -28px rgba(231, 30, 37, 0.35);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.section { padding: clamp(2.25rem, 5vw, 3.75rem) 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }

.bio-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
}
.card p:last-child { margin-bottom: 0; }

.help-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; margin-top: 1rem;
}
.help-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}
.help-item strong { display: block; margin-bottom: .25rem; color: #fff; }

.towns {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; padding: 0; list-style: none;
}
.towns a {
  display: inline-flex; align-items: center; min-height: 42px; padding: .4rem 1rem;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  color: var(--cream); text-decoration: none; font-weight: 700; font-size: .92rem;
}
.towns a:hover { border-color: var(--red); color: #FF8A8D; }
.towns span {
  display: inline-flex; align-items: center; min-height: 42px; padding: .4rem 1rem;
  border-radius: 999px; border: 1px dashed var(--line); color: var(--muted); font-weight: 600; font-size: .92rem;
}

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; margin-top: 1rem;
}
.feature {
  display: flex; flex-direction: column; gap: .45rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.15rem; text-decoration: none; color: inherit; min-height: 100%;
}
.feature:hover { border-color: var(--red); }
.feature .tag {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red);
}
.feature strong { color: #fff; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; flex: 1; }
.feature .go { font-weight: 700; color: #FF8A8D; margin-top: .35rem; }

.contact-box {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.25rem; align-items: start;
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.contact-list a {
  display: flex; align-items: center; gap: .65rem; min-height: 48px;
  padding: .65rem .9rem; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); text-decoration: none; color: var(--cream); font-weight: 700;
}
.contact-list a:hover { border-color: var(--red); color: #FF8A8D; }
.social {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem;
}
.social a {
  display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .85rem;
  border-radius: 999px; border: 1px solid var(--line); background: var(--alt);
  color: var(--cream-soft); text-decoration: none; font-weight: 700; font-size: .85rem;
}
.social a:hover { border-color: var(--red); color: #fff; }

.site-footer {
  padding: 2.5rem 0 2rem; border-top: 1px solid var(--line); background: #0E0F12; color: var(--muted);
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #FF8A8D; }
.footer-name { color: var(--cream); font-weight: 700; margin: 0 0 .35rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.footer-links a { font-weight: 600; font-size: .9rem; }
.fine { font-size: .82rem; margin-top: 1rem; }

@media (max-width: 900px) {
  .hero-grid, .bio-grid, .contact-box, .feature-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 360px; margin: 0 auto; }
  .help-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header-row {
    flex-wrap: nowrap;
    gap: .5rem;
  }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand strong { font-size: .88rem; }
  .brand span { font-size: .65rem; }
  .brand img { width: 30px; height: 30px; }
  .header-actions { margin-left: 0; gap: .4rem; }
  .menu-btn { display: inline-flex; }
  .btn-login {
    min-height: 36px;
    height: 36px;
    padding: .35rem .8rem;
    font-size: .82rem;
  }
  .menu-btn { width: 36px; height: 36px; min-height: 36px; }
  .nav {
    display: none;
    order: 4;
    flex-basis: 100%;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    padding: .5rem 0 1rem;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .header-row:has(.nav.is-open) { flex-wrap: wrap; }
  .nav a { min-height: 48px; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
  .btn-login { padding: .35rem .7rem; }
}
