/* Felton & Peel Wealth Management — site stylesheet.
   No CSS framework. One Google font (Fraunces, headings) + the system font
   stack for body copy. Mobile-first; WCAG AA contrast targeted throughout. */

:root {
  --ink: #1c2321;
  --ink-soft: #3c4744;
  --paper: #faf6ef;
  --paper-raised: #ffffff;
  --forest: #1f3d36;
  --forest-dark: #142823;
  --forest-tint: #e7efec;
  --gold: #8a5c1c;
  --gold-dark: #6e4614;
  --line: #e1dccf;
  --focus: #1a5cff;
  --radius: 10px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--forest-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a {
  color: var(--forest);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
a:hover { color: var(--gold-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

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

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------- header */

.topbar {
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--forest-dark);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
}

.brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.brand-name small {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--forest-dark);
  display: block;
}

.topnav {
  display: none;
  align-items: center;
  gap: 20px;
}
.topnav.is-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
  padding: 16px 20px 20px;
}
.nav-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.topnav a { text-decoration: none; font-weight: 600; color: var(--ink-soft); }
.topnav a[aria-current="page"] { color: var(--forest); }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}
.btn-connect {
  background: var(--gold);
  color: #fff;
  margin-top: 14px;
}
.btn-connect:hover { background: var(--gold-dark); color: #fff; }
.btn-outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}
.btn-outline:hover { background: var(--forest-tint); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .topnav {
    display: flex;
    position: static;
    border: none;
    padding: 0;
    background: none;
    flex-direction: row;
  }
  .nav-links { flex-direction: row; gap: 22px; }
  .btn-connect { margin-top: 0; margin-left: 22px; }
}

/* ----------------------------------------------------------------- hero */

.hero {
  background: linear-gradient(180deg, var(--forest-tint), var(--paper) 70%);
  padding: 56px 0 48px;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 0.85rem;
}
.hero-grid {
  display: grid;
  gap: 32px;
}
.hero p.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.hero img { border-radius: var(--radius); }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}

.page-hero {
  background: var(--forest);
  color: #fff;
  padding: 48px 0;
}
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: #d8c48a; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; font-size: 0.85rem; }
.page-hero p { color: #eef3f1; max-width: 65ch; }
.page-hero a { color: #fff; }

/* -------------------------------------------------------------- sections */

section { padding: 48px 0; }
section.alt { background: var(--forest-tint); }

.section-heading { max-width: 70ch; margin-bottom: 28px; }
.section-heading .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 0.85rem;
}

.grid-3 { display: grid; gap: 22px; }
.grid-2 { display: grid; gap: 22px; }
@media (min-width: 760px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin-bottom: 10px; }

.pull-quote {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  color: var(--forest-dark);
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  margin: 32px 0;
}
.pull-quote cite { display: block; font-size: 0.85rem; color: var(--ink-soft); margin-top: 8px; font-style: normal; }

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  opacity: 0.85;
}
.logo-row img { max-height: 32px; width: auto; filter: grayscale(100%); }

/* ------------------------------------------------------------- adviser */

.adviser-header {
  display: grid;
  gap: 24px;
  align-items: start;
}
.adviser-header img { border-radius: var(--radius); }
@media (min-width: 760px) {
  .adviser-header { grid-template-columns: 280px 1fr; }
}
.credential-list {
  columns: 1;
  padding-left: 1.2em;
}
@media (min-width: 640px) {
  .credential-list { columns: 2; column-gap: 32px; }
}
.credential-list li { break-inside: avoid; margin-bottom: 6px; }

/* ------------------------------------------------------------------ faq */

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--forest-dark);
  font-size: 1.05rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "+"; display: inline-block; width: 1.2em; color: var(--gold-dark); font-weight: 900; }
.faq-item[open] summary::before { content: "–"; }
.faq-item p { margin-top: 12px; color: var(--ink-soft); }

/* --------------------------------------------------------------- press */

.press-list { list-style: none; margin: 0; padding: 0; }
.press-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.press-list .outlet { font-weight: 700; color: var(--forest-dark); }

/* -------------------------------------------------------------- careers */

.role-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px;
}

/* ------------------------------------------------------------------ blog */

.blog-list { display: grid; gap: 24px; margin-top: 8px; }
@media (min-width: 760px) {
  .blog-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .blog-list { grid-template-columns: repeat(3, 1fr); }
}
.blog-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.blog-card .blog-card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card .blog-date { color: var(--gold-dark); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.blog-card h2, .blog-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.blog-card p { color: var(--ink-soft); font-size: 0.96rem; }
.link-quiet { font-weight: 700; text-decoration: none; }

.home-blog-teaser .blog-list { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.page-body { max-width: 76ch; margin: 0 auto; padding-top: 8px; }
.page-body.blog-post img { border-radius: var(--radius); margin: 20px 0; }
.blog-meta { color: var(--ink-soft); font-size: 0.9rem; }

/* --------------------------------------------------------------- forms */

form.stack { display: grid; gap: 18px; max-width: 640px; }
.field { display: grid; gap: 6px; }
label { font-weight: 700; font-size: 0.92rem; }
input, select, textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
textarea { min-height: 130px; resize: vertical; }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-field input { width: auto; margin-top: 4px; }
.checkbox-field label { font-weight: 500; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); }
.form-status { font-weight: 700; }
.form-status[data-state="ok"] { color: var(--forest); }
.form-status[data-state="error"] { color: #a3271f; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* -------------------------------------------------------------- footer */

.site-footer {
  background: var(--forest-dark);
  color: #dfe8e4;
  padding: 48px 0 32px;
  margin-top: 40px;
}
.site-footer a { color: #f2ead8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: 26px;
  margin-bottom: 26px;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
.footer-brand { font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; color: #fff; margin-bottom: 8px; }
.footer-heading { font-weight: 700; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.08em; color: #b7c8c2; margin-bottom: 10px; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 0.82rem;
  color: #aebcb7;
}

.placeholder-block {
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 24px;
  background: #fdf6e8;
  color: var(--ink-soft);
}
.placeholder-block strong { color: var(--gold-dark); }

table { border-collapse: collapse; width: 100%; margin: 1.2em 0; }
table caption, table th, table td { text-align: left; padding: 8px 10px; border: 1px solid var(--line); }

blockquote { margin: 0 0 1em; padding-left: 16px; border-left: 3px solid var(--line); color: var(--ink-soft); }
