/* Golden River Stone LLC — site stylesheet
   Dark base, single warm accent (river-gold). No frameworks. */

:root {
  --bg: #0b0d10;
  --bg-elevated: #12151b;
  --bg-card: #141821;
  --border: rgba(245, 243, 238, 0.10);
  --border-strong: rgba(245, 243, 238, 0.20);
  --text: #f2efe9;
  --text-muted: #a9aeb8;
  --text-faint: #7b818e;
  --gold: #c9a35a;
  --gold-bright: #e0bd7a;
  --gold-dim: rgba(201, 163, 90, 0.14);
  --gold-line: rgba(201, 163, 90, 0.35);
  --focus: #e0bd7a;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --max-width: 1180px;
  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-bright);
  text-underline-offset: 3px;
}

a:not(.btn) {
  text-decoration-color: rgba(224, 189, 122, 0.45);
}

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

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

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
}

h1 {
  font-size: clamp(2.25rem, 5vw + 1rem, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 2.6vw + 1rem, 2.4rem);
}

h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-1);
}

p {
  margin: 0 0 var(--space-2);
  color: var(--text-muted);
  max-width: 62ch;
}

.lede {
  font-size: clamp(1.05rem, 1vw + 1rem, 1.35rem);
  color: var(--text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.eyebrow::before {
  content: "";
  width: 1.5em;
  height: 1px;
  background: var(--gold-line);
}

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: #0b0d10;
  padding: 0.75em 1.25em;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 13, 16, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-name {
  white-space: nowrap;
}

.brand-name .full {
  display: inline;
}

nav.site-nav {
  display: flex;
}

nav.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
}

nav.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}

nav.site-nav a:hover,
nav.site-nav a:focus-visible {
  color: var(--gold-bright);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.5em;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: #0b0d10;
}

.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--gold-line);
  color: var(--gold-bright);
  transform: translateY(-1px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

/* Hero */
.hero {
  position: relative;
  padding-block: var(--space-6) var(--space-5);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.9;
  pointer-events: none;
}

.hero-art svg {
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}

.hero-meta {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  color: var(--text-faint);
  font-size: 0.88rem;
}

.hero-meta strong {
  display: block;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.3em;
}

/* Sections */
section {
  padding-block: var(--space-5);
}

.section-head {
  max-width: 42rem;
  margin-bottom: var(--space-4);
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  position: relative;
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-2);
  color: var(--gold);
}

.card ul.check-list {
  list-style: none;
  margin: var(--space-2) 0 0;
  padding: 0;
  display: grid;
  gap: 0.55em;
}

.card ul.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card ul.check-list svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.2em;
  color: var(--gold);
}

.tag {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 0.4em 0.9em;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-3);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: var(--space-2);
  border-top: 1px solid var(--border-strong);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  color: var(--gold-bright);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: var(--space-2);
}

/* For brands */
.brands-panel {
  background: linear-gradient(150deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-4);
  align-items: center;
}

.brands-panel .art {
  color: var(--gold);
}

.brands-list {
  list-style: none;
  margin: var(--space-2) 0 0;
  padding: 0;
  display: grid;
  gap: 0.6em;
}

.brands-list li {
  color: var(--text-muted);
  padding-left: 1.4em;
  position: relative;
  font-size: 0.95rem;
}

.brands-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Contact */
.contact-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  background: var(--bg-card);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
}

.contact-block dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.4em;
}

.contact-block dd {
  margin: 0 0 var(--space-2);
  color: var(--text);
  font-size: 1rem;
}

.contact-block a {
  font-weight: 700;
  font-size: 1.15rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: var(--space-4);
  color: var(--text-faint);
  font-size: 0.85rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
}

.footer-links {
  display: flex;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-faint);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-legal {
  max-width: 60ch;
}



/* Simple pages (privacy / 404) */
.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: var(--space-5);
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose ul {
  padding-left: 1.2em;
}

.todo {
  display: inline-block;
  margin-left: 0.4em;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  border-radius: 4px;
  padding: 0.1em 0.5em;
}

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.error-page .container {
  max-width: 40rem;
}

.error-code {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-2);
}

/* Responsive */
@media (max-width: 900px) {
  .brands-panel {
    grid-template-columns: 1fr;
  }

  .brands-panel .art {
    order: -1;
    width: 100%;
    max-width: 220px;
  }
}

@media (max-width: 640px) {
  .site-header .container {
    justify-content: center;
    text-align: center;
  }

  nav.site-nav ul {
    justify-content: center;
  }

  .hero {
    padding-block: var(--space-5) var(--space-4);
  }

  .hero-meta {
    gap: var(--space-3);
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}
