:root {
  --rh-sage: #8a9a7a;
  --rh-river: #5e7f92;
  --rh-earth: #7b6856;
  --rh-mist: #eff2ef;
  --rh-charcoal: #2f3330;
  --rh-warm-gray: #756f68;
  --rh-linen: #e6e2d9;
  --color-success: #4f8050;
  --color-warning: #b9872f;
  --color-error: #a35555;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --font-family-heading: Georgia, "Times New Roman", serif;
  --font-family-body: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --shadow-sm: 0 2px 8px rgba(47, 51, 48, 0.08);
  --shadow-md: 0 10px 30px rgba(47, 51, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--rh-mist);
  color: var(--rh-charcoal);
  font-family: var(--font-family-body);
}

a {
  color: var(--rh-river);
  text-decoration: none;
}

a:hover {
  color: var(--rh-sage);
}

.site-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 32px;
  z-index: 1000;
  background: rgba(239, 242, 239, 0.96);
  border-bottom: 1px solid var(--rh-linen);
  backdrop-filter: blur(6px);
}

.top-contact-bar {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: #ffffff;
  border-bottom: 1px solid var(--rh-linen);
}

.top-contact-inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--rh-warm-gray);
}

.top-contact-inner a {
  color: var(--rh-warm-gray);
}

.site-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-kicker {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rh-warm-gray);
  font-size: 0.7rem;
}

.brand-title {
  font-family: var(--font-family-heading);
  font-size: 1.2rem;
  color: var(--rh-charcoal);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-md);
  color: var(--rh-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.77rem;
}

.site-nav a:hover {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.site-main {
  padding: 28px 0 36px;
}

.site-footer {
  border-top: 1px solid var(--rh-linen);
  margin-top: 28px;
}

.site-footer-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--rh-warm-gray);
  font-size: 0.9rem;
}

.hero-panel {
  border-radius: 22px;
  min-height: 390px;
  padding: 32px;
  color: #fff;
  display: flex;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(20, 30, 20, 0.12), rgba(20, 30, 20, 0.64)),
    url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
  box-shadow: var(--shadow-md);
}

.hero-title {
  margin: 0 0 8px;
  font-family: var(--font-family-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-mission {
  margin: 0 0 16px;
  font-size: 1.05rem;
}

.grid-3, .grid-2 {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.section-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rh-linen);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.program-card {
  display: block;
  background: #fff;
  border: 1px solid var(--rh-linen);
  border-radius: var(--radius-lg);
  padding: 16px;
  color: var(--rh-charcoal);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.program-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.section-title {
  margin: 0 0 8px;
  font-size: 1.55rem;
  font-family: var(--font-family-heading);
}

.muted {
  color: var(--rh-warm-gray);
}

.btn-rh {
  border: none;
  background: var(--rh-sage);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  cursor: pointer;
}

.btn-rh:hover {
  background: #758869;
  color: #fff;
}

.btn-rh-secondary {
  background: #fff;
  color: var(--rh-charcoal);
  border: 1px solid var(--rh-linen);
}

.btn-rh-secondary:hover {
  background: #f6f8f6;
}

.form-label-rh {
  display: block;
  margin: 0 0 4px;
  font-size: 0.9rem;
}

.form-control-rh {
  width: 100%;
  border: 1px solid var(--rh-linen);
  border-radius: var(--radius-md);
  padding: 9px 11px;
}

.form-control-rh:focus {
  outline: none;
  border-color: var(--rh-river);
  box-shadow: 0 0 0 3px rgba(94, 127, 146, 0.15);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.stat-box {
  background: #fff;
  border: 1px solid var(--rh-linen);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rh-river);
}

.cta-strip {
  background: linear-gradient(120deg, #f7faf7, #eef4f7);
  border: 1px solid var(--rh-linen);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}

.input-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.lookup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.lookup-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rh-linen);
  box-shadow: var(--shadow-sm);
  padding: 12px;
}

.scan-shell {
  max-width: 760px;
}

.terms-body p {
  margin: 0 0 12px;
  line-height: 1.55;
}

.terms-list p {
  margin: 0 0 14px;
}

.table-rh th {
  text-align: left;
  padding: 10px;
}

.table-rh td {
  padding: 10px;
  border-top: 1px solid var(--rh-linen);
}

@media (max-width: 920px) {
  .site-nav-cta {
    display: none;
  }
  .site-header {
    top: 0;
  }
  .top-contact-bar {
    display: none;
  }
}