/* Pierre & Company LLC — pierreandcoinv.com
   Palette: brand navy sampled from the firm's quarterboard logo (#0a2748).
   Headings: Libre Baskerville (self-hosted). Body: system sans stack. */

@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('libre-baskerville-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('libre-baskerville-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0a2748;
  --navy-deep: #071b33;
  --navy-tint: #eef1f6;
  --ink: #191d23;
  --body: #343a43;
  --muted: #5a6270;
  --line: #dce0e6;
  --paper: #ffffff;
  --wash: #f5f6f8;
  --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; color: var(--ink); margin: 0 0 .75rem; }

p { margin: 0 0 1.25rem; }
ul, ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
li { margin-bottom: .4rem; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); }

img { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

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

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.site-logo img { width: 320px; height: auto; }
@media (max-width: 1000px) {
  .site-logo img { width: 260px; }
}
@media (max-width: 400px) {
  .site-logo img { width: 210px; }
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .7rem .75rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { display: block; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .01em;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--navy); }
.site-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
.site-nav .nav-cta a {
  background: var(--navy);
  color: #fff;
  padding: .5rem 1.1rem;
  border-radius: 4px;
  border-bottom: none;
}
.site-nav .nav-cta a:hover { background: var(--navy-deep); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(10, 39, 72, .08);
    z-index: 50;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: .5rem 1.25rem 1rem;
  }
  .site-nav li { margin: 0; }
  .site-nav a { display: block; padding: .7rem 0; border-bottom: none; }
  .site-nav .nav-cta a { display: inline-block; margin-top: .5rem; }
  .site-header { position: relative; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 4.5rem 0 3.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='260'%3E%3Cg fill='%230a2748' fill-opacity='0.055'%3E%3Crect x='0' y='180' width='60' height='80' rx='4'/%3E%3Crect x='90' y='140' width='60' height='120' rx='4'/%3E%3Crect x='180' y='100' width='60' height='160' rx='4'/%3E%3Crect x='270' y='55' width='60' height='205' rx='4'/%3E%3Crect x='360' y='10' width='60' height='250' rx='4'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4% bottom;
}
.hero .kicker {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}
.hero h1 { max-width: 21ch; margin-bottom: 1.25rem; }
.hero .lede {
  font-size: 1.2rem;
  max-width: 62ch;
  color: var(--body);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.button {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  padding: .8rem 1.6rem;
  border: 1px solid var(--navy);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.button-primary { background: var(--navy); color: #fff; }
.button-primary:hover { background: var(--navy-deep); color: #fff; }
.button-secondary { background: transparent; color: var(--navy); }
.button-secondary:hover { background: var(--navy-tint); color: var(--navy-deep); }

/* ---------- Credentials strip ---------- */

.credentials {
  background: var(--navy);
  color: #fff;
  padding: 1.35rem 0;
}
.credentials ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem 1.6rem;
}
.credentials li {
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.credentials li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  flex-shrink: 0;
}
@media (max-width: 1140px) {
  .credentials li { font-size: .72rem; }
}
@media (max-width: 1000px) {
  .credentials ul { flex-direction: column; align-items: center; gap: .55rem; }
  .credentials li + li::before { display: none; }
  .credentials li { white-space: normal; text-align: center; }
}

/* ---------- Sections ---------- */

.section { padding: 4rem 0; }
.section-wash { background: var(--wash); }
.section-title { margin-bottom: .5rem; }
.section-intro { max-width: 62ch; color: var(--muted); margin-bottom: 2.5rem; }

.page-header { padding: 3.5rem 0 0; }
.page-header .kicker {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .75rem;
}
.page-header .lede { font-size: 1.15rem; max-width: 66ch; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
/* four audience cards read better as a balanced 2x2 than 3-plus-orphan */
@media (min-width: 780px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.8rem;
}
.card h3 { margin-bottom: .6rem; }
.card-head {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .6rem;
}
.card-head h3 { margin-bottom: 0; }
.card-icon {
  display: block;
  width: 26px;
  height: 26px;
  color: var(--navy);
  flex-shrink: 0;
}
.card p { margin-bottom: .75rem; color: var(--body); }
.card .card-link { font-weight: 600; font-size: .95rem; }
.card ul { margin-bottom: 0; }

.numbered-list { counter-reset: svc; list-style: none; padding: 0; }
.numbered-list > li {
  counter-increment: svc;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.numbered-list > li::before {
  content: counter(svc, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--navy);
  line-height: 1.2;
}
.numbered-list h3 { margin-bottom: .5rem; }
.numbered-list ul { margin-bottom: 0; }

blockquote {
  margin: 0 0 1.5rem;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--navy);
  background: var(--wash);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
}
blockquote footer {
  margin-top: 1rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: .95rem;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Tables (fee schedule) ---------- */

.table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }
.table-wrap table { min-width: 640px; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .98rem;
  background: var(--paper);
}
caption {
  text-align: left;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  padding-bottom: .9rem;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
}
thead th, th[scope="col"] {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
}
th[scope="row"] {
  background: var(--navy-tint);
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
td small, .table-note { color: var(--muted); }

.notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy);
  background: var(--wash);
  border-radius: 0 6px 6px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.notice p:last-child { margin-bottom: 0; }

/* ---------- About / badges ---------- */

.badge-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.5rem 0 2rem; }
.badge-row img {
  width: 150px;
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.timeline { list-style: none; padding: 0; }
.timeline > li {
  margin: 0;
  padding: 1rem 0 1rem 1.4rem;
  border-left: 2px solid var(--line);
  position: relative;
}
.timeline > li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 1.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy);
}
.timeline strong { color: var(--ink); }
.timeline .meta { display: block; font-size: .9rem; color: var(--muted); }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}
.contact-person .headshot { width: 96px; height: 96px; border-width: 2px; }
.contact-person p { margin: 0; line-height: 1.45; }
.contact-person strong { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.contact-person span { font-size: .9rem; color: var(--muted); }

.contact-details { list-style: none; padding: 0; }
.contact-details li { margin-bottom: 1.1rem; }
.contact-details .label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-details a, .contact-details span.value { font-size: 1.1rem; }

form .field { margin-bottom: 1.25rem; }
label {
  display: block;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  margin-bottom: .35rem;
}
input, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: .7rem .85rem;
  border: 1px solid #aab2bd;
  border-radius: 4px;
  background: var(--paper);
}
input:focus, textarea:focus, .button:focus-visible, a:focus-visible, .nav-toggle:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.form-status { margin-top: 1rem; }
.form-status .ok {
  background: #e8f2ea;
  color: #1d4a27;
  border: 1px solid #bcd8c2;
  border-radius: 4px;
  padding: .9rem 1.1rem;
}
.form-status .err {
  background: #f9e9e9;
  color: #7a1f1f;
  border: 1px solid #e5c2c2;
  border-radius: 4px;
  padding: .9rem 1.1rem;
}
.required-note { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 3.5rem 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='260'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Crect x='0' y='180' width='60' height='80' rx='4'/%3E%3Crect x='90' y='140' width='60' height='120' rx='4'/%3E%3Crect x='180' y='100' width='60' height='160' rx='4'/%3E%3Crect x='270' y='55' width='60' height='205' rx='4'/%3E%3Crect x='360' y='10' width='60' height='250' rx='4'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4% bottom;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 60ch; }
.cta-band .button-primary { background: #fff; color: var(--navy); border-color: #fff; }
.cta-band .button-primary:hover { background: var(--navy-tint); color: var(--navy-deep); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
  padding: 3.5rem 0 2rem;
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.footer-wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 .75rem;
}
.footer-wordmark .llc { font-size: .8rem; font-weight: 400; letter-spacing: .08em; }
.footer-tagline {
  color: rgba(255, 255, 255, .72);
  max-width: 34ch;
  margin-bottom: 1.25rem;
}
.site-footer .footer-heading {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin: 0 0 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding-top: 1.5rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, .65);
}
.footer-legal p { margin-bottom: .6rem; }
.footer-legal a { color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: #fff; }
.footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-top: 1rem;
}
.footer-bottom-row p { margin: 0; }

/* ---------- Headshot ---------- */

.page-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}
.headshot {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  border: 3px solid var(--navy);
  flex-shrink: 0;
  object-fit: cover;
}
@media (max-width: 700px) {
  .page-header-flex { flex-direction: column-reverse; align-items: flex-start; }
  .headshot { width: 128px; height: 128px; }
}

/* ---------- How we work steps ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.steps-grid .card { position: relative; }
.steps-grid .card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
}

#at-a-glance .card-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

/* ---------- FAQ ---------- */

.faq details {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  margin-bottom: .9rem;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.4rem 1.2rem; }
.faq details > div p:last-child { margin-bottom: 0; }
.faq summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* ---------- LinkedIn pill ---------- */

a.linkedin-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #0a66c2;
  color: #fff;
  border-radius: 999px;
  padding: .4rem 1rem .4rem .8rem;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
a.linkedin-pill:hover { background: #084d92; color: #fff; text-decoration: none; }
a.linkedin-pill svg { width: 15px; height: 15px; flex-shrink: 0; }
.site-footer a.linkedin-pill { color: #fff; margin-top: .35rem; }
.site-footer a.linkedin-pill:hover { text-decoration: none; }

/* ---------- Accents & polish ---------- */

.kicker { display: flex; align-items: center; gap: .6rem; }
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--navy);
  flex-shrink: 0;
}

.section-title::after,
.section > .container > h2:first-child::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--navy);
  margin-top: .7rem;
}

.card {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover {
  border-color: rgba(10, 39, 72, .35);
  box-shadow: 0 10px 24px rgba(10, 39, 72, .07);
  transform: translateY(-2px);
}

.faq details { transition: border-color .18s ease; }
.faq details:hover, .faq details[open] { border-color: rgba(10, 39, 72, .4); }

::selection { background: var(--navy); color: #fff; }

@media (max-width: 1000px) {
  .hero, .cta-band { background-image: none; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .card:hover { transition: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utility ---------- */

.center { text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.error-page { padding: 6rem 0; text-align: center; }
.error-page h1 { margin-bottom: .5rem; }

/* Fee table: visually set off the treasury management row (text unchanged). */
.fee-highlight th, .fee-highlight td { background: #eef3f9; font-weight: 700; }
.fee-highlight th[scope="row"] { box-shadow: inset 4px 0 0 #0a2748; }

/* ---------- Oct 28 client edits ---------- */

.credentials .cred-name {
  margin: 0 0 .7rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: .02em;
  color: #fff;
}
.card .card-kicker {
  margin: 0 0 .3rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
}
