/* James River Premier Notary — brand stylesheet (Sept 2026) */

:root {
  --bg: #F8F6F0;
  --bg-soft: #F1ECDD;
  --card: #FFFFFF;
  --ink: #101521;
  --muted: #57626F;
  --navy: #00295F;
  --navy-deep: #001A3D;
  --navy-pale: #E4EAF3;
  --gold: #D5A42B;
  --gold-deep: #B4841A;
  --gold-pale: #F6EAC8;
  --border: #E7DFC9;
  --shadow: 0 10px 30px rgba(16, 21, 33, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.4em;
  line-height: 1.15;
}

p { margin: 0 0 1em; color: var(--muted); }

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

.mono { font-family: "IBM Plex Mono", monospace; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 246, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  max-width: 1120px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand .chip {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: none;
}
.brand .chip img { width: 40px; height: 40px; object-fit: contain; }
.brand .name {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.2;
}
.brand .name small { display: block; font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }

nav.primary {
  display: flex;
  align-items: center;
  gap: 26px;
}
nav.primary a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}
nav.primary a.active { color: var(--navy); }
nav.primary a:hover { text-decoration: none; color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-accent { background: var(--gold); color: #3A2C05; }
.btn-accent:hover { background: var(--gold-deep); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--ink); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* ---------- hero ---------- */
.hero {
  padding: 60px 0 40px;
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-pale);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 50px;
  margin-bottom: 18px;
}
.hero .lede { font-size: 17.5px; max-width: 46ch; margin-bottom: 26px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }

.stat-row { display: flex; gap: 34px; flex-wrap: wrap; }
.stat .num {
  font-family: "Fraunces", serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
}
.stat .label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

.hero-art {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
.hero-art .card-mark {
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  width: 100%;
  max-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art img { width: 100%; max-width: 240px; display: block; }

/* ---------- sections ---------- */
section { padding: 56px 0; }
section.alt { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 34px; }
.section-head .eyebrow { margin-bottom: 10px; }
.section-head h2 { font-size: 32px; }

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card .check {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--gold-pale);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 14px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { margin: 0; font-size: 14.8px; }

/* ---------- services / pricing ---------- */
.tier-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 12px; }
.tier {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.tier.featured { border: 2px solid var(--gold); }
.tier .badge {
  position: absolute;
  top: -13px; left: 24px;
  background: var(--gold);
  color: #3A2C05;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.tier h3 { font-size: 21px; margin-bottom: 6px; }
.tier .tagline { font-size: 14px; margin-bottom: 18px; color: var(--muted); min-height: 42px; }
.tier .from {
  font-family: "Fraunces", serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--navy);
}
.tier .from small { font-family: "Work Sans", sans-serif; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.tier ul { list-style: none; padding: 0; margin: 18px 0 0; }
.tier ul li {
  font-size: 14.3px;
  color: var(--ink);
  padding: 7px 0;
  border-top: 1px dashed var(--border);
}
.tier ul li:first-child { border-top: none; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-table th, .price-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14.8px;
}
.price-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.price-table td.price { font-family: "IBM Plex Mono", monospace; font-weight: 600; }
.price-table tr:nth-child(even) td { background: var(--bg-soft); }
.price-table tr:last-child td { border-bottom: none; }

.note-card {
  background: var(--navy-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 22px;
  font-size: 14.5px;
}
.note-card strong { color: var(--navy); }

.zone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.zone {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}
.zone h4 { font-size: 15px; margin-bottom: 6px; }
.zone .fee { font-family: "IBM Plex Mono", monospace; font-weight: 700; color: var(--gold-deep); font-size: 14px; }
.zone p { font-size: 13.5px; margin: 6px 0 0; }

/* ---------- testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.quote p.text { font-style: italic; color: var(--ink); font-size: 14.8px; }
.quote .who { font-family: "IBM Plex Mono", monospace; font-size: 12.5px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-deep));
  border-radius: 24px;
  padding: 46px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: 28px; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.75); margin: 0; }

/* ---------- footer ---------- */
footer.site {
  background: var(--navy-deep);
  color: rgba(255,255,255,.72);
  padding: 46px 0 26px;
  margin-top: 60px;
}
footer.site .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 30px; }
footer.site h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
footer.site a { color: rgba(255,255,255,.72); }
footer.site a:hover { color: #fff; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site ul li { margin-bottom: 8px; font-size: 14px; }
footer.site .bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 18px;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,.5);
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 46px 0 10px; }
.page-hero h1 { font-size: 38px; }
.page-hero .lede { max-width: 60ch; font-size: 16.5px; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  nav.primary { display: none; }
  .hero .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .grid-3, .tier-row, .quote-grid, .zone-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  footer.site .grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .price-table { font-size: 13px; }
}

/* ---------- booking form ---------- */
.book-form { display: grid; gap: 18px; margin-top: 4px; }
.book-form .field { display: flex; flex-direction: column; gap: 6px; }
.book-form label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--muted);
}
.book-form label .req { color: var(--gold-deep); }
.book-form input[type="text"],
.book-form input[type="tel"],
.book-form input[type="email"],
.book-form input[type="number"],
.book-form input[type="date"],
.book-form select,
.book-form textarea {
  font-family: "Work Sans", sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
}
.book-form input:focus,
.book-form select:focus,
.book-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.book-form textarea { resize: vertical; min-height: 84px; font-family: "Work Sans", sans-serif; }
.book-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.tier-select { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tier-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  background: var(--card);
  transition: border-color .15s, background .15s;
}
.tier-opt input[type="radio"] {
  flex: none;
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: var(--navy);
  cursor: pointer;
}
.tier-opt-body { display: block; }
.tier-opt-body strong { display: block; font-family: "Fraunces", serif; font-size: 15.5px; color: var(--ink); }
.tier-opt-body span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.tier-opt.selected { border-color: var(--gold); background: var(--gold-pale); }
.tier-opt:hover { border-color: var(--navy); }
.tier-opt:has(input:focus-visible) { border-color: var(--navy); }

.when-note {
  font-size: 13px;
  color: var(--muted);
  background: var(--navy-pale);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: -4px;
}

.field-error { font-size: 12.5px; color: #C23B3B; display: none; }
.field-error.show { display: block; }

.book-form .hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; }

.book-status {
  font-size: 14px;
  border-radius: 12px;
  padding: 12px 14px;
  display: none;
}
.book-status.show { display: block; }
.book-status.ok { background: var(--gold-pale); color: #3A2C05; }
.book-status.err { background: rgba(194, 59, 59, 0.12); color: #7A1F1F; }

.book-form button[type="submit"]:disabled { opacity: .6; cursor: default; }

.book-success { text-align: center; padding: 10px 4px; }
.book-success .check-big {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
  margin: 0 auto 14px;
}

@media (max-width: 620px) {
  .book-form .row-2 { grid-template-columns: 1fr; }
  .tier-select { grid-template-columns: 1fr; }
}
