/* =========================================================
   Design Tokens
========================================================= */
:root {
  --ink: #0b0b0c;
  --charcoal: #121214;
  --midnight: #0e1b2a;
  --river: #113a5a;
  --ember: #d67632;
  --ember-2: #f2a361;
  --silver: #cfd3d6;
  --platinum: #e7eaee;
  --paper: #0a0a0b;
  --copy: #e9e8e6;
  --muted: #b7bcc3;
  --oval-orange: rgb(230, 126, 35);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* =========================================================
   Reset & Base
========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

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

body {
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto,
               "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--copy);
  background-color: #0a0a0b;
  background-image: url("/modx/assets/components/RiverCitySilver/images/gallerysml.jpg");
  background-size: cover;
  background-attachment: scroll;
}

/* =========================================================
   Typography
========================================================= */
h1, h2, h3, h4 {
  margin: 0 0 .5rem;
  line-height: 1.2;
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
}

.display {
  font-size: clamp(2rem, 4vw + .5rem, 4rem);
  font-weight: 700;
}

h1 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); }

.lead {
  max-width: 60ch;
  color: var(--muted);
}

.accent {
  color: var(--ember);
}

/* =========================================================
   Layout Helpers
========================================================= */
.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* =========================================================
   Buttons (Chrome-safe, hardened)
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 0.9rem 1.6rem;

  font-family: Montserrat, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;

  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;

  background: var(--oval-orange);
  color: #fff;

  box-shadow: 0 1px 1px rgba(0,0,0,.25);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-center {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

/* =========================================================
   Masthead & Navigation
========================================================= */
.masthead {
  background: #000;
  color: #fff;
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 2000;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

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

.brand img {
  width: 240px;
  height: auto;
}

.nav {
  display: flex;
}

.nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  position: relative;
}

.nav a {
  display: block;
  padding: .5rem;
  color: #fff;
  text-decoration: none;
}

.nav a:hover {
  background: #222;
}

.nav li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #000;
  min-width: 180px;
  border: 1px solid #333;
  flex-direction: column;
  z-index: 1000;
}

.nav li:hover > ul {
  display: flex;
}

/* =========================================================
   Hero
========================================================= */
.hero {
  position: relative;
  z-index: 1;
}
.hero h1,
.hero h2 {
  text-align: center;
}


.hero-media {
  display: none !important;
}


/* =========================================================
   Pillars / Cards
========================================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* =========================================================
   Gallery
========================================================= */
.gallery {
  margin-block: 2.5rem;
}

.gallery .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   Footer
========================================================= */
.site-footer {
  background: #000;
  color: #b7bcc3;
  padding: 2rem 1rem;
  font-family: Arial, sans-serif;
  border-top: 1px solid #17181b;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 0;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}

.footer-col {
  flex: 1 1 30%;
  min-width: 250px;
  padding: 0 1rem;
}

.footer-col h3 {
  color: var(--oval-orange);
  margin-bottom: .75rem;
}

.footer-col p,
.footer-col a {
  color: #fff;
  font-size: .95rem;
  text-decoration: none;
}

.footer-copy {
  text-align: center;
  margin-top: 1rem;
  font-size: .9rem;
  color: #aaa;
}

/* =========================================================
 Social Icons 
========================================================= */ 
.social-links { display: flex; gap: 12px; margin-top: 0.75rem;
 } 
.social-links a { display: inline-flex; align-items: center;
 } 
.social-links img { height: 28px; width: auto;
 } 

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 980px) {
  .pillars {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .pillars {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .gallery .grid {
    grid-template-columns: 1fr;
  }
}

