/* onapqua. lean site shell for the review pages: base, header, footer.
   Bright "Starlight" theme in metal-element (Kim) tones: pearl white, silver, gold. */
:root {
  --font-sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #1c1f27;
  --text: #434a57;
  --muted: #6a7180;
  --line: rgba(28, 31, 39, .1);
  --gold: #b07f0c;
  --gold-soft: #8a6206;
  --silver: #4f5767;
  --space: #07080c;
  --gradient: linear-gradient(105deg, #fff4c9 0%, #f5c84c 45%, #e3a53a 100%);
  color-scheme: light;
}

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

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

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(60% 45% at 12% 0%, rgba(245, 200, 76, .16), transparent 70%),
    radial-gradient(50% 40% at 95% 12%, rgba(120, 130, 152, .12), transparent 70%),
    radial-gradient(70% 50% at 70% 100%, rgba(227, 165, 58, .1), transparent 70%),
    linear-gradient(180deg, #fdfdfe 0%, #f6f7fa 45%, #eef0f4 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
}

/* Star field: two layers of tiny silver and gold points, fixed behind the content. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body::before {
  background-image:
    radial-gradient(1px 1px at 23px 41px, rgba(184, 134, 11, .85), transparent 60%),
    radial-gradient(1px 1px at 127px 163px, rgba(120, 130, 152, .7), transparent 60%),
    radial-gradient(1.5px 1.5px at 211px 77px, rgba(176, 127, 12, .9), transparent 60%),
    radial-gradient(1px 1px at 289px 233px, rgba(184, 134, 11, .6), transparent 60%),
    radial-gradient(1px 1px at 61px 271px, rgba(245, 200, 76, .8), transparent 60%),
    radial-gradient(1px 1px at 173px 297px, rgba(120, 130, 152, .55), transparent 60%);
  background-size: 320px 320px;
  opacity: .7;
}
body::after {
  background-image:
    radial-gradient(1.5px 1.5px at 91px 113px, rgba(184, 134, 11, .9), transparent 60%),
    radial-gradient(1px 1px at 337px 59px, rgba(245, 200, 76, .75), transparent 60%),
    radial-gradient(2px 2px at 251px 389px, rgba(176, 127, 12, .8), transparent 60%),
    radial-gradient(1px 1px at 431px 241px, rgba(120, 130, 152, .7), transparent 60%);
  background-size: 480px 480px;
  opacity: .55;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .25; } to { opacity: .7; } }

h1, h2, h3, h4 { font-family: var(--font-sans); line-height: 1.2; letter-spacing: -.03em; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font-family: inherit; }
::selection { background: rgba(245, 200, 76, .45); color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--gradient);
  color: #1d1604;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.site-header::before { content: ""; display: block; height: 2px; background: var(--gradient); box-shadow: 0 0 14px rgba(245, 200, 76, .8); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }

.brand-logo {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.05em;
  text-decoration: none;
}
.brand-logo-mark { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 18px rgba(245, 200, 76, .45); transition: transform .25s ease; }
.brand-logo:hover .brand-logo-mark { transform: rotate(-8deg) scale(1.05); }
.brand-dot { color: var(--gold); text-shadow: 0 0 10px rgba(245, 200, 76, .9); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(28, 31, 39, .04);
}
.main-nav a {
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--text);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.main-nav a:hover { background: rgba(28, 31, 39, .06); color: var(--gold-soft); }
.main-nav a.active { background: var(--gradient); color: #1d1604; box-shadow: 0 0 18px rgba(245, 200, 76, .45); }

/* Footer */
.site-footer { position: relative; padding: 56px 0 28px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .78); }
.site-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(120px, .7fr)); gap: clamp(28px, 5vw, 72px); }
.site-footer-brand > a { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.footer-logo-mark { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 0 18px rgba(245, 200, 76, .35); }
.site-footer-brand strong { font-size: 1.3rem; font-weight: 800; letter-spacing: -.045em; }
.site-footer-brand p { max-width: 340px; margin: 16px 0 12px; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.site-footer-brand small { display: inline-flex; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .75rem; font-weight: 700; }
.site-footer-column { display: flex; flex-direction: column; gap: 10px; }
.site-footer-column h2 { margin: 0 0 6px; color: var(--gold); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.site-footer-column a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.site-footer-column a:hover { color: var(--gold-soft); }
.site-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

@media (max-width: 860px) {
  .site-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .header-inner { min-height: 60px; gap: 10px; }
  .brand-logo-name { display: none; }
  .main-nav { min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { padding: 7px 11px; font-size: .8rem; }
  .site-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body { background-attachment: scroll; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
