/* Pierce Schultz PLLC — draft site styles */

:root {
  --navy: #1c2b3a;
  --navy-deep: #131f2b;
  --slate: #34495e;
  --ink: #22303c;
  --muted: #5f6f7e;
  --line: #dfe4e8;
  --bg: #ffffff;
  --bg-alt: #f5f3ef;      /* warm off-white */
  --bg-dark: #16232f;
  --accent: #846939;      /* restrained brass/gold */
  --accent-soft: #b79b6b;
  --paper: #faf9f6;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  overflow-wrap: break-word;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: .2px;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1.1em; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.lead { font-size: 1.2rem; color: var(--slate); }

.rule {
  width: 54px; height: 3px; background: var(--accent);
  border: 0; margin: 0 0 1.6rem;
}
.center .rule { margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand .name {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: var(--navy); letter-spacing: .5px;
}
.brand .name:hover { text-decoration: none; }
.brand .sub {
  font-family: var(--sans); font-size: .62rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); margin-top: 3px;
}
.nav-links { display: flex; gap: 34px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--slate); font-size: .82rem; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); text-decoration: none; }
.nav-cta {
  border: 1px solid var(--navy); color: var(--navy) !important;
  padding: 9px 18px; border-radius: 2px; transition: all .18s;
}
.nav-cta:hover { background: var(--navy); color: #fff !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  padding: 14px 30px; border-radius: 2px; cursor: pointer; transition: all .18s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #74592d; text-decoration: none; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(rgba(19,31,43,.86), rgba(19,31,43,.92)),
    url("../assets/hero.svg");
  background-size: cover; background-position: center;
  color: #fff; padding: 120px 0 128px;
}
.hero .container { max-width: 900px; }
.hero .eyebrow { color: var(--accent-soft); }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lead { color: rgba(255,255,255,.82); max-width: 720px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #eef1f4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: rgba(255,255,255,.8); }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Positioning statement ---------- */
.statement p {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.05rem);
  line-height: 1.4; color: var(--navy); max-width: 900px;
}
.statement .accent { color: var(--accent); }

/* ---------- Practice cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 34px 30px; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 14px 40px rgba(19,31,43,.09); transform: translateY(-3px); }
.card .num {
  font-family: var(--serif); font-size: 1rem; color: var(--accent);
  border-bottom: 1px solid var(--line); padding-bottom: .5rem; margin-bottom: 1rem;
  display: inline-block; letter-spacing: .1em;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }

.feature {
  border-left: 3px solid var(--accent); padding: 4px 0 4px 22px; margin-bottom: 1.8rem;
}
.feature h3 { margin-bottom: .3rem; }
.feature p { color: var(--muted); margin-bottom: 0; }

/* ---------- Lists ---------- */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative; padding-left: 30px; margin-bottom: 14px; color: var(--slate);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg);
}
.post-topline { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.byline { font-family: var(--sans); font-size: .85rem; color: var(--muted); margin: 0; }
.byline strong { color: var(--navy); font-weight: 600; }
.post-list { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.post-list li {
  position: relative; padding-left: 26px; margin-bottom: 12px;
  color: var(--slate); line-height: 1.6;
}
.post-list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg);
}

/* ---------- About / bio ---------- */
.bio { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.bio-photo {
  aspect-ratio: 4/5; background: var(--bg-alt); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--muted); font-size: .85rem; border-radius: 4px; padding: 20px;
}
.credbox {
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 28px 30px; margin-top: 24px;
}
.credbox h3, .credbox h4 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em;
  font-size: .74rem; color: var(--accent); margin-bottom: 1rem; }
.credbox ul { margin: 0 0 0 0; padding-left: 18px; color: var(--slate); }
.credbox li { margin-bottom: 8px; }

/* ---------- Placeholder marker ---------- */
.ph {
  background: #fff4d6; color: #8a6100; border: 1px dashed #d9b45a;
  padding: 0 5px; border-radius: 3px; font-size: .92em; font-style: normal;
  white-space: nowrap;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-item { margin-bottom: 26px; }
.contact-item .label {
  text-transform: uppercase; letter-spacing: .12em; font-size: .72rem;
  color: var(--accent); font-weight: 600; margin-bottom: 4px;
}
.contact-item .val { font-size: 1.1rem; color: var(--navy); }
form label { display: block; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--slate); margin: 0 0 6px; font-weight: 600; }
form input, form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 3px;
  font-family: var(--sans); font-size: 1rem; margin-bottom: 18px; background: #fff;
}
form input:focus, form textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 78px 0; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 60px 0 30px; font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top h2 { color: #fff; font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; margin-bottom: 1rem; }
.footer-top a { color: rgba(255,255,255,.72); }
.footer-top a:hover { color: #fff; }
.footer-brand .name { font-family: var(--serif); font-size: 1.4rem; color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: rgba(255,255,255,.5); }
.disclaimer { max-width: 760px; font-size: .78rem; color: rgba(255,255,255,.5); margin-top: 18px; line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-2, .grid-3, .contact-grid, .bio, .footer-top { grid-template-columns: 1fr; }
  .bio-photo { max-width: 320px; margin-left: auto; margin-right: auto; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; background: #fff;
    flex-direction: column; gap: 0; padding: 10px 0; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-toggle { display: block; }
  section { padding: 64px 0; }
  .hero { padding: 90px 0; }
}

/* ---------- Testimonials ---------- */
.quote-wrap { max-width: 720px; margin: 0 auto; }
.quote-card {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 4px; padding: 34px 36px; margin: 0;
}
.quote-card p {
  font-family: var(--serif); font-size: 1.4rem; line-height: 1.5;
  color: var(--navy); margin: 0 0 1.3rem;
}
.quote-card footer { display: flex; flex-direction: column; }
.quote-card .q-name { font-family: var(--sans); font-weight: 600; color: var(--ink); }
.quote-card .q-role {
  font-family: var(--sans); font-size: .78rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .1em; margin-top: 3px;
}
.q-disclaimer { text-align: center; margin-top: 22px; font-size: .78rem; color: var(--muted); }


/* ---------- Compact endorsement (About rail) ---------- */
.quote-mini { border-left: 3px solid var(--accent); }
.quote-mini p {
  font-family: var(--serif); font-size: 1.08rem; line-height: 1.45;
  color: var(--navy); font-style: italic; margin: 0 0 .9rem;
}
.quote-mini footer { display: flex; flex-direction: column; }
.quote-mini .q-name {
  font-family: var(--sans); font-weight: 600; font-size: .82rem; color: var(--ink);
}
.quote-mini .q-role {
  font-family: var(--sans); font-size: .68rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em; margin-top: 3px;
}
.quote-mini .q-mini-note {
  font-family: var(--sans); font-style: normal; font-size: .68rem;
  color: var(--muted); line-height: 1.4; margin: .9rem 0 0;
}

/* ---------- Phone refinements ---------- */
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  h1 { font-size: clamp(1.85rem, 8vw, 2.35rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .hero { padding: 66px 0 70px; }
  .hero .lead { font-size: 1.06rem; }
  section { padding: 50px 0; }
  .section-head { margin-bottom: 2rem; }
  .lead { font-size: 1.06rem; }
  .statement p { font-size: 1.3rem; line-height: 1.38; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .cta-band .btn { width: 100%; text-align: center; }
  .card { padding: 24px 22px; }
  .credbox { padding: 22px 22px; }
  .feature { padding-left: 18px; }
  .quote-card { padding: 26px 22px; }
  .quote-card p { font-size: 1.18rem; }
  .brand .name { font-size: 1.3rem; }
  .nav { height: 66px; }
  .nav-links { top: 66px; }
}


/* a11y: WCAG AA contrast fixes */
.section-dark .eyebrow{color:var(--accent-soft);}

.results-disclaimer{font-size:.72rem;line-height:1.5;color:#555;font-style:italic;margin:14px 0 0;}

.legal h2 { font-size: 1.4rem; }

.skip-link{position:absolute;left:-9999px;top:0;z-index:100000;background:#16232f;color:#fff;padding:10px 16px;border-radius:0 0 6px 0;}
.skip-link:focus{left:0;top:0;}

.quote-mini .q-more{margin-top:18px;padding-top:18px;border-top:1px solid rgba(0,0,0,.12);}
.credbox .results-disclaimer{font-size:.72rem;line-height:1.5;color:#555;font-style:italic;font-family:inherit;margin:14px 0 0;}

/* ---------- Blog post layout (sidebar) ---------- */
.post-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 60px; align-items: start; }
.post-main { min-width: 0; max-width: 720px; }
.post-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 26px 24px; }
.side-card h3 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--navy); margin-bottom: 1rem; }
.side-card p { color: var(--muted); font-size: .93rem; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { border-bottom: 1px solid var(--line); }
.cat-list li:last-child { border-bottom: 0; }
.cat-list a { display: block; padding: 9px 0; color: var(--ink); font-size: .93rem; }
.cat-list a:hover { color: var(--accent); text-decoration: none; }
.cat-list a.active { color: var(--accent); font-weight: 600; }
@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; gap: 40px; }
  .post-side { position: static; }
}

/* ---------- Insights category filter ---------- */
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 2.2rem; }
.chip { font-family: var(--sans); font-size: .78rem; letter-spacing: .06em; font-weight: 600; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--slate); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
