/* Ethos & Edict Law PLLC — site styles
   Colors and type carried over from the original section code. */
:root {
  --navy: #0D2C4F;
  --navy-2: #16375F;
  --navy-3: #2D4D74;
  --navy-deep: #0f2545;
  --gold: #A98247;
  --gold-light: #C9A96E;
  --cream: #F7F5F0;
  --cream-2: #EFECE3;
  --line: #DFDAD0;
  --ink: #1C1F24;
  --muted: #5A6270;
  --white: #fff;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(13,44,79,0.10);
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 4.2vw, 2.4rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
[id] { scroll-margin-top: 90px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-tight { padding: 32px 0; }
.eyebrow {
  display: block;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .75em;
}
.section-head { max-width: 700px; margin: 0 auto 40px; text-align: center; }
.lede { font-size: 1.08rem; color: var(--muted); }
@media (max-width: 600px) { .section { padding: 44px 0; } .section-tight { padding: 20px 0; } }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); color: #fff; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-outline-navy { background: transparent; border-color: var(--navy-2); color: var(--navy-2); }
.btn-outline-navy:hover { background: var(--navy-2); color: #fff; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.btn:disabled { opacity: .7; cursor: default; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 48px; width: auto; border-radius: 3px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-family: var(--sans); font-size: .84rem; letter-spacing: .04em; font-weight: 500;
  color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.nav .btn { color: #fff; border-bottom: 1px solid transparent; padding: 11px 18px; }
.nav .btn:hover { color: #fff; border-bottom-color: transparent; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { display: block; }

@media (max-width: 900px) {
  .header-inner { height: 64px; }
  .brand img { height: 40px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 64px; left: -20px; right: -20px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 4px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--gold); }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
}

/* ---------- Hero / page header bands ---------- */
.hero { padding: 28px 0 0; }
.hero-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: #fff; border-radius: var(--radius); padding: 64px 48px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-band h1 { color: #fff; }
.hero-band .eyebrow { color: var(--gold-light); }
.hero-band .lede { color: rgba(255,255,255,.86); max-width: 46ch; margin: 0; }
@media (max-width: 800px) {
  .hero { padding-top: 16px; }
  .hero-band { padding: 34px 22px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-band .lede { font-size: 1rem; }
  .hero-band .actions { margin-top: 22px; gap: 10px; }
  .hero-band .btn { flex: 1 1 100%; }
}

.page-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 56px 32px; text-align: center; border-radius: var(--radius);
}
.page-band h1 { color: #fff; margin-bottom: .3em; max-width: 24ch; margin-left: auto; margin-right: auto; }
.page-band p { color: rgba(255,255,255,.86); margin: 0 auto; max-width: 62ch; }
.page-band .eyebrow { color: var(--gold-light); }
@media (max-width: 600px) { .page-band { padding: 38px 20px; } }

/* ---------- Cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 800px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.track { border: 1px solid #e2ddd0; border-radius: 10px; padding: 28px 26px; background: var(--cream); }
.track .tag { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.track ul { margin: 14px 0 0; padding: 0; list-style: none; }
.track li { font-size: .95rem; line-height: 1.55; color: #44506a; padding: 11px 0; border-top: 1px solid #e2ddd0; }
.track li:first-child { border-top: 0; }
.track li b { color: #22314a; }
.track .more { display: inline-block; margin-top: 14px; font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-decoration: none; color: var(--navy-2); }
.track .more:hover { color: var(--gold); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: 0 10px 30px rgba(13,44,79,.08); }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; font-size: .95rem; }

/* ---------- Principal intro ---------- */
.principal { background: var(--cream); border-radius: var(--radius); padding: 56px 48px; display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; }
.principal-photo { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow); background: var(--cream-2); }
.principal-photo img { width: 100%; height: 100%; object-fit: cover; }
.principal p { margin-bottom: 1.2em; }
@media (max-width: 800px) {
  .principal { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 40px 22px; gap: 24px; }
  .principal-photo { width: 160px; height: 160px; }
}

/* ---------- Quote band ---------- */
.quote-band { background: var(--navy); color: #fff; padding: 56px 40px; text-align: center; border-radius: var(--radius); }
.quote-band blockquote { font-size: clamp(1.15rem, 2.6vw, 1.4rem); max-width: 800px; margin: 0 auto; font-style: italic; line-height: 1.5; }
@media (max-width: 600px) { .quote-band { padding: 38px 22px; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--cream-2); padding: 48px 32px; text-align: center; border-radius: var(--radius); }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: var(--muted); max-width: 55ch; margin: 0 auto 24px; }
@media (max-width: 600px) { .cta-band { padding: 36px 20px; } }

/* ---------- Services ---------- */
.discipline { border-top: 1px solid var(--line); padding: 56px 0; }
.discipline:first-child { border-top: 0; padding-top: 16px; }
.discipline-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.discipline-head > div:first-child { position: sticky; top: 100px; }
.discipline-head p { color: var(--muted); }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.service-list li:first-child { border-top: 0; padding-top: 0; }
.service-list h3 { font-size: 1.05rem; margin-bottom: .25em; }
.service-list p { margin: 0; font-size: .96rem; color: #3a4250; }
@media (max-width: 800px) {
  .discipline-head { grid-template-columns: 1fr; gap: 20px; }
  .discipline-head > div:first-child { position: static; }
  .discipline { padding: 40px 0; }
}

.audience { background: var(--cream); border-radius: var(--radius); padding: 48px 40px; }
.audience h3 { font-size: 1.05rem; }
.audience p { font-size: .95rem; margin: 0; color: #3a4250; }
@media (max-width: 600px) { .audience { padding: 34px 20px; } }

.jump { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.jump a { font-family: var(--sans); font-size: .78rem; letter-spacing: .03em; text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 8px 14px; }
.jump a:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* ---------- How we work ---------- */
.terms { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.terms th, .terms td { text-align: left; vertical-align: top; padding: 20px 24px; border-top: 1px solid var(--line); }
.terms tr:first-child th, .terms tr:first-child td { border-top: 0; }
.terms th { width: 30%; font-family: var(--sans); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); font-weight: 700; background: var(--cream); }
@media (max-width: 640px) {
  .terms, .terms tbody, .terms tr, .terms th, .terms td { display: block; width: 100%; }
  .terms th { padding: 16px 20px 4px; border-top: 1px solid var(--line); }
  .terms td { border-top: 0; padding: 0 20px 18px; background: var(--cream); }
}
.prose-narrow { max-width: 760px; margin: 0 auto; }

/* ---------- About ---------- */
.bio { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.headshot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--cream-2); position: sticky; top: 100px; }
.headshot-cap { font-family: var(--sans); text-align: center; padding: 16px 14px 20px; background: var(--navy); color: #fff; }
.headshot-cap strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.headshot-cap span { font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-light); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 30px 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; }
.role-date { font-family: var(--sans); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.timeline h4 { margin-bottom: 2px; font-size: 1.02rem; }
.org { font-weight: 600; color: var(--navy-2); display: block; margin-bottom: 6px; }
.timeline p { font-size: .96rem; margin: 0; }
@media (max-width: 800px) { .bio { grid-template-columns: 1fr; gap: 32px; } .headshot { position: static; max-width: 300px; margin: 0 auto; } }

.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; background: var(--cream); padding: 40px 32px; border-radius: var(--radius); }
.creds h4 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .06em; font-size: .83rem; color: var(--gold); margin: 0 0 10px; }
.creds ul { margin: 0; padding-left: 18px; font-size: .94rem; }
.creds li { margin-bottom: 6px; }
@media (max-width: 800px) { .creds { grid-template-columns: 1fr; padding: 32px 22px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 36px 32px; }
.contact-info h2 { color: #fff; font-size: 1.4rem; }
.contact-info dl { margin: 0 0 24px; }
.contact-info dt { font-family: var(--sans); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; margin-top: 18px; }
.contact-info dd { margin: 4px 0 0; }
.contact-info a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); word-break: break-word; }
.contact-info a:hover { border-bottom-color: var(--gold-light); color: #fff; }
.contact-info .fineprint { font-size: .82rem; color: #aebbd4; margin: 0; line-height: 1.55; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.4rem; margin-bottom: .2em; }
.form-card > p { color: var(--muted); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-family: var(--sans); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #cfc9bc; border-radius: 4px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-light); outline-offset: 1px; border-color: var(--gold); }
textarea { min-height: 140px; resize: vertical; }
.form-card .btn { width: 100%; font-size: .85rem; padding: 16px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.form-error { display: none; background: #fbeaea; border: 1px solid #e3b4b4; color: #7a1f1f; border-radius: 4px; padding: 12px 14px; font-family: var(--sans); font-size: .9rem; margin-bottom: 16px; }
.form-error.show { display: block; }
.hp { position: absolute; left: -5000px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } .contact-info { order: 2; } .form-card, .contact-info { padding: 28px 20px; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Insights ---------- */
.post-list { display: grid; gap: 24px; max-width: 820px; margin: 0 auto; }
.post-card { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 26px; transition: box-shadow .15s, border-color .15s; }
.post-card:hover { box-shadow: var(--shadow); border-color: #cfc9bc; color: inherit; }
.post-meta { font-family: var(--sans); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.post-card h2 { font-size: 1.35rem; margin: 10px 0 6px; }
.post-card p { color: var(--muted); margin: 0 0 14px; }
.post-card .read { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
.audience-tag { display: inline-block; margin-left: 10px; padding: 2px 9px; border-radius: 999px; background: var(--cream-2); color: var(--navy-2); font-size: .68rem; }
@media (max-width: 600px) { .post-card { padding: 24px 20px 20px; } }

.article { max-width: 720px; margin: 0 auto; }
.article h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-top: .2em; }
.article .kicker { font-size: 1.15rem; color: var(--muted); font-style: italic; margin-bottom: 1.6em; }
.article h2 { font-size: 1.4rem; margin-top: 1.8em; }
.article ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.article li { margin-bottom: .6em; }
.article li b { color: var(--navy); }
.article .faq h3 { font-size: 1.05rem; margin: 1.4em 0 .35em; }
.article-cta { margin-top: 2.4em; }
.article-disclaimer { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 2.4em; }
.back { font-family: var(--sans); font-size: .82rem; text-decoration: none; letter-spacing: .03em; }

/* ---------- Thank you / 404 ---------- */
.thanks { max-width: 640px; margin: 0 auto; text-align: center; }
.thanks .check { width: 64px; height: 64px; border-radius: 50%; background: var(--cream-2); color: var(--gold); display: grid; place-items: center; margin: 0 auto 20px; }
.thanks .actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c9d3e4; margin-top: 64px; font-family: var(--sans); font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 48px 20px 32px; }
.footer-top h4 { font-family: var(--sans); color: var(--gold-light); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-brand { font-family: var(--serif); font-size: 1.15rem; color: #fff; margin-bottom: 8px; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 20px; }
.disclaimer p { max-width: 760px; margin: 0 auto; font-size: .8rem; line-height: 1.6; color: #aebbd4; text-align: center; }
.copyright { text-align: center; font-size: .78rem; color: #8c9ab5; padding: 0 20px 24px; margin: 0; }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 800px) {
  .mobile-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    box-shadow: 0 8px 24px rgba(13,44,79,.25);
    transform: translateY(160%); transition: transform .2s ease;
  }
  .mobile-cta.show { transform: none; }
  body.has-mobile-cta .site-footer { padding-bottom: 72px; }
}

/* ---------- Header logo (single logo, no duplicate text) ---------- */
.brand img { height: 56px; width: auto; border-radius: 3px; }
@media (max-width: 900px) { .brand img { height: 44px; } }

/* ---------- Free consultation card in the home hero ---------- */
.consult-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 30px 28px;
}
.consult-card h2 { color: #fff; font-size: 1.35rem; margin-bottom: .6em; }
.consult-card ul { list-style: none; margin: 0 0 16px; padding: 0; }
.consult-card li {
  position: relative; padding: 8px 0 8px 28px; color: rgba(255,255,255,.9);
  font-size: .98rem; line-height: 1.45; border-top: 1px solid rgba(255,255,255,.12);
}
.consult-card li:first-child { border-top: 0; }
.consult-card li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px;
  border-left: 2px solid var(--gold-light); border-bottom: 2px solid var(--gold-light); transform: rotate(-45deg);
}
.consult-note { margin: 0; font-family: var(--sans); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--gold-light); }
@media (max-width: 800px) {
  .hero-grid { gap: 28px; }
  .consult-card { padding: 22px 20px; }
}

.cta-free { margin: 14px auto 0 !important; font-family: var(--sans); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--gold) !important; }
.footer-free { color: var(--gold-light); font-weight: 600; }
.audience .more { display: inline-block; margin-top: 10px; font-family: var(--sans); font-size: .82rem; font-weight: 600; text-decoration: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
