:root {
  --bg: #F5F3EF;
  --paper: #fffaf7;
  --panel-bg: rgba(245, 243, 239, 0.68);
  --panel-bg-strong: rgba(255, 250, 247, 0.68);
  --ink: #0F1416;
  --muted: #4C677C;
  --muted-strong: #263948;
  --brand: #0F1416;
  --brand-2: #4C677C;
  --accent: #C7A45A;
  --accent-soft: #efe4cd;
  --line: #ded6c8;
  --shadow: 0 16px 38px rgba(15, 20, 22, 0.10);
  --radius: 18px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
img, video, canvas, svg { max-width: 100%; height: auto; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--ink);
  background-color: var(--brand);
  line-height: 1.6;
}
a { color: var(--brand); text-decoration: none; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(15,20,22,.14), rgba(15,20,22,.14)),
    url('assets/riverstone-page-background.jpg') center center / cover no-repeat;
  pointer-events: none;
  z-index: -2;
  transform: translateZ(0);
}

a:hover { text-decoration: underline; }
.announcement {
  background: var(--brand);
  color: var(--accent-soft);
  text-align: center;
  padding: 0.55rem 1rem 0.62rem;
  border-bottom: 1px solid rgba(199,164,90,.22);
  text-transform: uppercase;
}

.announcement-primary,

.announcement-sep {
  font-size: 0.5em;
  display: inline-block;
  vertical-align: middle;
  margin: 0 .28em;
  color: var(--accent);
}

.announcement-secondary {
  display: block;
}
.announcement-primary {
  font-size: 0.828rem;
  letter-spacing: .08em;
  line-height: 1.35;
  color: var(--ivory);
}
.announcement-secondary {
  margin-top: .16rem;
  font-size: 0.72rem;
  letter-spacing: .11em;
  line-height: 1.25;
  color: var(--accent);
}

.site-header { background: rgba(15,20,22,.94);
  border-bottom: 1px solid rgba(199,164,90,.28);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #F5F3EF;
  min-width: 610px;
}
.logo img { width: 178px; height: auto; display: block; }
.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-left: .15rem;
}
.logo strong {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 2.05rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--ivory);
  text-transform: uppercase;
  line-height: .95;
  text-shadow: 0 1px 1px rgba(0,0,0,.35);
}
.logo-service-line {
  display: flex;
  align-items: center;
  gap: .42rem;
  width: 100%;
  margin-top: .34rem;
}
.logo-service-line span {
  flex: 1;
  height: 1px;
  background: var(--accent);
  opacity: .92;
}
.logo-service-line em {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: normal;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo-divider {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 58%;
  margin-top: .28rem;
}
.logo-divider span {
  flex: 1;
  height: 1px;
  background: rgba(199,164,90,.65);
}
.logo-divider i {
  width: 7px;
  height: 7px;
  background: var(--accent);
  display: block;
  transform: rotate(45deg);
}
.logo-subline {
  display: block;
  margin-top: .34rem;
  color: var(--ivory);
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: normal;
  font-size: .9rem;
  font-weight: 300;
  letter-spacing: .42em;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(199,164,90,.55);
  border-radius: 10px;
  background: rgba(245,243,239,.06);
  color: var(--ivory);
  padding: .45rem;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--accent);
  border-radius: 99px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .35rem .8rem;
  font-size: .94rem;
}
.nav a { color: #F5F3EF; padding: .45rem .35rem; }
.nav a.active { color: var(--accent); font-weight: 700; }

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
}
.nav-dropdown-caret {
  font-size: .72em;
  line-height: 1;
}
.nav-submenu {
  position: absolute;
  top: calc(100% + .45rem);
  left: 0;
  z-index: 1000;
  min-width: 255px;
  padding: .45rem;
  border: 1px solid rgba(199,164,90,.30);
  border-radius: 12px;
  background: rgba(15,20,22,.98);
  box-shadow: 0 16px 34px rgba(0,0,0,.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.nav-submenu a {
  display: block;
  width: 100%;
  padding: .68rem .78rem;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-submenu a:hover,
.nav-submenu a:focus {
  background: rgba(245,243,239,.09);
  text-decoration: none;
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav .book-btn, .btn {
  background: var(--accent);
  color: var(--brand);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: .75rem 1rem;
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(49,78,63,.18);
}
.nav .book-btn:hover, .btn:hover { background: #d5b66d; text-decoration: none; }
.btn.secondary {
  background: white;
  color: var(--brand);
  border-color: var(--brand-2);
  box-shadow: none;
}
main { max-width: var(--max); margin: 0 auto; padding: 2rem 1.25rem 4rem; background: transparent; }

.hero,
.section,
.card,
.faq details,
.notice {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hero {
  position: relative;
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, rgba(255,255,255,.68) 0%, rgba(239,228,205,.68) 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero.compact { padding: 3rem 2rem; }
.eyebrow {
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .08em;
  margin: 0 0 .8rem;
}
h1, h2, h3 { line-height: 1.18; color: #16231c; }
h1 { font-size: clamp(2.1rem, 4vw, 4.1rem); margin: 0 0 1rem; max-width: 900px; }
h2 { font-size: clamp(1.55rem, 2.4vw, 2.2rem); margin: 0 0 1rem; }
h3 { font-size: 1.18rem; margin: 0 0 .45rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.2rem; color: var(--muted-strong); font-weight: 500; max-width: 820px; }
.cta-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.section {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--panel-bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.section.plain { box-shadow: none; background: transparent; border: 0; padding: 1rem 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: rgba(255, 250, 247, 0.68); border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem; }
.card.highlight { background: var(--accent-soft); border-color: rgba(199,164,90,.45); }
ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li { padding-left: 1.6rem; margin: .55rem 0; position: relative; }
ul.checks li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); font-weight: bold; }
.list-columns { columns: 2; column-gap: 2rem; }
.list-columns li { break-inside: avoid; margin-bottom: .45rem; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; background: rgba(255,255,255,0.70); border-radius: 12px; overflow: hidden; }
th, td { border: 1px solid var(--line); padding: .8rem; text-align: left; vertical-align: top; }
th { background: var(--accent-soft); }
.notice { border-left: 5px solid var(--accent); background: rgba(255, 249, 239, 0.68); padding: 1rem; border-radius: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
label { font-weight: 700; display:block; margin-bottom: .35rem; }
input, select, textarea {
  width: 100%;
  padding: .85rem;
  border: 1px solid #cfd6dd;
  border-radius: 10px;
  font: inherit;
  background: white;
}
textarea { min-height: 140px; }
.full { grid-column: 1 / -1; }
.fake-submit { margin-top: 1rem; opacity: .9; cursor: default; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.68); padding: 1rem; margin-bottom: .8rem; }
.faq summary { font-weight: 700; cursor: pointer; color: #16231c; }
.faq p, .faq ul { margin-top: .75rem; }
.site-footer { background: rgba(22, 35, 28, 0.88); color: #f7f4ed; padding: 2.5rem 1.25rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; }
.site-footer a { color: #f7f4ed; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1rem; }
.small { font-size: .9rem; color: var(--muted); }
.site-footer .small { color: #d3d7d1; }

.hero-mark {
  width: 150px;
  height: auto;
  display: block;
  margin: 0 0 1rem;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}
h1, h2 {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 500;
  letter-spacing: .045em;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: .03em;
}
.brand-showcase {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
  background: #0F1416;
  color: #F5F3EF;
  border-color: rgba(199,164,90,.35);
}
.brand-showcase h2, .brand-showcase p { color: #F5F3EF; }
.brand-showcase .eyebrow { color: var(--accent); }
.brand-showcase img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(199,164,90,.35);
  box-shadow: 0 18px 45px rgba(0,0,0,.30);
}





@media (max-width: 980px) {

  body {
    background-color: var(--brand);
    background-image: none;
  }

  body::before {
    position: fixed;
    width: 100vw;
    height: 100vh;
    min-height: 100svh;
    background:
      linear-gradient(rgba(15,20,22,.10), rgba(15,20,22,.10)),
      url('assets/riverstone-page-background-mobile.jpg') center top / cover no-repeat;
    transform: none;
    will-change: auto;
  }

  .hero,
  .section,
  .card,
  .faq details,
  .notice {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero {
    background: linear-gradient(135deg, rgba(255,255,255,.86) 0%, rgba(239,228,205,.86) 100%);
  }

  .section {
    background: rgba(245, 243, 239, 0.86);
  }

  .card {
    background: rgba(255, 250, 247, 0.86);
  }

  .notice {
    background: rgba(255, 249, 239, 0.86);
  }

  .faq details {
    background: rgba(255,255,255,0.86);
  }

  .card.highlight {
    background: rgba(239,228,205,.88);
  }

  .announcement {
    padding: .55rem .75rem .62rem;
  }
  .announcement-primary {
    font-size: .648rem;
    letter-spacing: .035em;
    line-height: 1.35;
  }
  .announcement-secondary {
    font-size: .58rem;
    letter-spacing: .045em;
    line-height: 1.3;
  }
  .announcement-sep {
    margin: 0 .18em;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: .7rem .8rem;
  }

  .logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 58px);
    gap: .28rem;
  }

  .logo img {
    width: clamp(78px, 22vw, 118px);
    flex: 0 0 auto;
  }

  .logo-text {
    min-width: 0;
    align-items: center;
    overflow: hidden;
  }

  .logo strong {
    font-size: clamp(1rem, 5.2vw, 1.52rem);
    letter-spacing: .12em;
    max-width: 100%;
    line-height: 1;
  }

  .logo-service-line {
    gap: .22rem;
    margin-top: .2rem;
    max-width: 100%;
  }

  .logo-service-line span {
    min-width: 16px;
  }

  .logo-service-line em {
    font-size: clamp(.5rem, 2.45vw, .72rem);
    letter-spacing: .18em;
  }

  .logo-divider {
    width: 48%;
    margin-top: .16rem;
  }

  .logo-divider i {
    width: 5px;
    height: 5px;
  }

  .logo-subline {
    font-size: clamp(.5rem, 2.2vw, .68rem);
    letter-spacing: .24em;
    margin-top: .2rem;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav {
    display: none;
    width: 100%;
    flex: 0 0 100%;
    margin-top: .75rem;
    padding: .75rem;
    border: 1px solid rgba(199,164,90,.28);
    border-radius: 14px;
    background: rgba(15,20,22,.97);
    box-shadow: 0 18px 36px rgba(0,0,0,.25);
  }

  .nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: .75rem .85rem;
    border-radius: 10px;
  }

  .nav a:hover {
    background: rgba(245,243,239,.08);
    text-decoration: none;
  }

  .nav-dropdown {
    display: block;
    width: 100%;
  }

  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    margin: .2rem 0 .35rem .7rem;
    padding: .2rem 0 .2rem .55rem;
    border: 0;
    border-left: 1px solid rgba(199,164,90,.38);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav-submenu a {
    padding: .62rem .8rem;
    font-size: .9rem;
    white-space: normal;
  }

  .nav .book-btn {
    text-align: center;
    margin-top: .35rem;
    padding: .85rem 1rem;
  }

  main {
    width: 100%;
    max-width: 100%;
    padding: 1.1rem .85rem 3rem;
  }

  .hero {
    padding: 2rem 1.15rem;
    border-radius: 20px;
  }

  h1 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
  }

  .lead {
    font-size: 1.03rem;
  }

  .section {
    padding: 1.1rem;
    border-radius: 16px;
  }

  .grid,
  .grid.two,
  .form-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .list-columns {
    columns: 1;
  }

  table {
    display: block;
    width: 100%;
    overflow-x: auto;
  }

  th, td {
    min-width: 170px;
  }

  input, select, textarea {
    min-width: 0;
  }
}

@media print {
  .announcement, .site-header, .cta-row, .site-footer { display:none; }
  main { max-width: var(--max); margin: 0 auto; padding: 2rem 1.25rem 4rem; background: transparent; }
  .section, .hero { box-shadow: none; border: 1px solid #ddd; }
}

#acknowledgments,
#jurats,
#oaths-affirmations {
  scroll-margin-top: 190px;
}
.list-columns a {
  font-weight: 600;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: .18em;
}

.pricing-note {
  font-size: .95rem;
  color: var(--muted-strong);
}
td strong {
  color: var(--brand);
}

.pricing-callout {
  margin-top: 1.35rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--accent);
  font-size: 1rem;
  line-height: 1.55;
}
.estimate-callout {
  margin-top: 1.85rem;
}
@media (max-width: 980px) {
  .pricing-callout {
    margin-top: 1.15rem;
    padding: .95rem 1rem;
  }
  .estimate-callout {
    margin-top: 1.45rem;
  }
}

.zone-fees-table th:first-child,
.zone-fees-table td:first-child {
  width: 120px;
  min-width: 120px;
  white-space: nowrap;
}
.zone-fees-table th:last-child,
.zone-fees-table td:last-child {
  width: 160px;
  min-width: 160px;
  white-space: nowrap;
}
@media (max-width: 980px) {
  .zone-fees-table th:first-child,
  .zone-fees-table td:first-child {
    min-width: 120px;
  }
}

.construction-banner {
  background: rgba(199, 164, 90, 0.96);
  color: var(--brand);
  text-align: center;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .38rem 1rem;
  border-bottom: 1px solid rgba(15,20,22,.22);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
@media (max-width: 980px) {
  .construction-banner {
    font-size: .7rem;
    letter-spacing: .055em;
    padding: .34rem .75rem;
  }
}

@media (max-width: 980px) {
  .site-footer,
  .site-footer p,
  .site-footer a,
  .site-footer li,
  .site-footer .small {
    font-size: 90%;
    line-height: 1.45;
  }

  .site-footer h2 {
    font-size: 1.15rem;
  }

  .site-footer h3 {
    font-size: 1rem;
  }

  .site-footer p,
  .site-footer a {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .footer-links {
    gap: .65rem 1rem;
  }
}

.error-hero h1,
.error-hero .lead {
  max-width: 760px;
}

@media (max-width: 980px) {
  .error-contact-line {
    font-size: 85%;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

.hidden-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.form-check {
  grid-column: 1 / -1;
}
.form-check label {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-weight: 500;
}
.form-check input {
  width: auto;
  margin-top: .25rem;
}
.submission-table {
  width: 100%;
}
.submission-table th {
  width: 32%;
}
.submission-table td {
  overflow-wrap: anywhere;
}
