/* Tomanovich Partners LLC — certificate-style palette
   Ink navy #22303E | Paper #FBFAF6 | Brass #A67C2E | Rule gray #C9C4B8 | Body slate #3C4653 */

:root {
  --ink: #22303e;
  --paper: #fbfaf6;
  --brass: #a67c2e;
  --rule: #c9c4b8;
  --body: #3c4653;
  --max: 880px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--paper);
  color: var(--body);
  font-family: "Public Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
}

a { color: var(--ink); text-decoration-color: var(--brass); text-underline-offset: 3px; }
a:hover { color: var(--brass); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* Certificate double rule */
.double-rule {
  border: 0;
  border-top: 1px solid var(--rule);
  position: relative;
  margin: 0;
}
.double-rule::after {
  content: "";
  position: absolute;
  top: 3px; left: 0; right: 0;
  border-top: 1px solid var(--rule);
}

/* Header */
.site-header { padding: 2.25rem 0 1.5rem; }
.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-bottom: 1.25rem;
}
.wordmark {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.wordmark:hover { color: var(--ink); }
.masthead-loc {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

/* Hero */
.hero { padding: 4.5rem 0 3.5rem; }
.hero .eyebrow {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  max-width: 18ch;
  margin-bottom: 1.5rem;
}
.hero p {
  max-width: 56ch;
  font-size: 1.125rem;
}

/* Sections */
.section { padding: 3.25rem 0; }
.section h2 {
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
}
.section p { max-width: 62ch; margin-bottom: 1rem; }
.section p:last-child { margin-bottom: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 640px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Contact block */
.contact-card {
  border: 1px solid var(--rule);
  padding: 1.75rem 2rem;
  background: #fff;
}
.contact-card dt {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 1.1rem;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { color: var(--ink); }

/* Legal pages */
.legal { padding: 3rem 0 4rem; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
.legal .effective { color: var(--brass); font-size: 0.9375rem; margin-bottom: 2.25rem; }
.legal h2 { font-size: 1.25rem; margin: 2.25rem 0 0.75rem; }
.legal p, .legal li { max-width: 68ch; margin-bottom: 0.9rem; }
.legal ul { padding-left: 1.4rem; margin-bottom: 1rem; }

/* Footer */
.site-footer { padding: 2rem 0 3rem; margin-top: 2rem; }
.site-footer .inner {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  font-size: 0.9rem;
}
.site-footer nav { display: flex; gap: 1.5rem; }
