:root {
  --navy: #1c2b4a;
  --navy-deep: #152138;
  --gold: #9a7b3f;        /* muted keystone gold accent */
  --gold-bright: #b3924d;
  --paper: #fbfaf7;
  --paper-alt: #f2f0e9;
  --ink: #1d2330;
  --ink-soft: #4a5160;
  --line: #e2ded3;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 32, 56, 0.06), 0 8px 24px rgba(20, 32, 56, 0.06);
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Libre Franklin", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 720px; }

/* slim keystone-toned top accent */
.top-rule {
  height: 4px;
  background: linear-gradient(to right, var(--navy) 0 70%, var(--gold) 70% 100%);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--gold); display: inline-flex; }
.brand-text {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.site-nav a:hover { color: var(--navy); text-decoration: none; }

/* HERO */
.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(28, 43, 74, 0.06), transparent 60%),
    var(--paper);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 16ch;
  margin-bottom: 0.4em;
}
.lede {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.04s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* SECTIONS */
.section { padding: 72px 0; }
.section-alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.6em;
}
.section p { color: var(--ink-soft); font-size: 1.05rem; }
.section.narrow p { max-width: 65ch; }

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.card p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }
.card::before {
  content: "";
  display: block;
  width: 34px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 16px;
}

/* CONTACT FORM */
.contact-intro { margin-bottom: 28px; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(28, 43, 74, 0.12);
  background: var(--white);
}
.field textarea { resize: vertical; }
.hint { font-size: 0.8rem; color: var(--ink-soft); margin: 6px 0 0; }

/* CONSENT */
.consent {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin: 4px 0 22px;
}
.checkbox { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.checkbox input {
  margin-top: 3px;
  width: 18px; height: 18px;
  flex: 0 0 auto;
  accent-color: var(--navy);
}
.consent-text { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; }
.consent-text strong { color: var(--ink); }

.form-status { font-size: 0.92rem; margin: 16px 0 0; min-height: 1.2em; }
.form-status.ok { color: #1e7a3d; }
.form-status.err { color: #b3303f; }
.field input.invalid { border-color: #b3303f; }

/* FOOTER */
.site-footer {
  background: var(--navy-deep);
  color: #c7cfdd;
  padding: 44px 0 28px;
  margin-top: 8px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .brand-text { color: var(--white); display: block; margin-bottom: 8px; }
.tagline { font-size: 0.86rem; color: #95a1b7; max-width: 46ch; margin: 0; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.footer-nav a { color: #c7cfdd; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--white); }
.copyright { font-size: 0.8rem; color: #7f8ca6; margin: 20px 0 0; }

/* RESPONSIVE */
@media (max-width: 760px) {
  .site-nav { display: none; }
  .cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 52px; }
  .section { padding: 56px 0; }
}
