/* Lawson Law, PLLC — shared styles for every page */

:root {
  --bg:        #FAF8F5;
  --bg-2:      #F0EBE3;
  --surface:   #FFFFFF;
  --surface-2: #F5F2EC;
  --ink:       #2A353C;
  --ink-soft:  #46525A;
  --muted:     #625E58;
  --line:      #DCD5C9;
  --gold:      #B08E72;
  --gold-2:    #9C7A5F;
  --gold-soft: rgba(176, 142, 114, 0.28);
  --footer-bg: #EDE7DD;
  --radius:    14px;
  --container: 1160px;
  --nav-h:     88px;
  --announce-h:0px;   /* announcement bar removed 2026-09-25; kept at 0 so the spacing math still works */
  --serif: Garamond, "Adobe Garamond Pro", "Cormorant Garamond", Baskerville, Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink-soft); font-family: var(--sans); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.01em; color: var(--ink); }
p { margin: 0 0 1.1rem; color: var(--muted); font-family: var(--serif); }
p:last-child { margin-bottom: 0; }
a { color: var(--ink); text-decoration: none; }
img { max-width: 100%; }
em.ac { font-style: italic; font-weight: 400; color: var(--gold); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }
.eyebrow { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 1.1rem; display: inline-block; }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--gold); color: var(--surface); padding: 0.6rem 1rem; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

/* ---------- Header / Nav ---------- */
header.site { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; background: rgba(250, 248, 245, 0.86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease; }
header.site.scrolled { border-bottom-color: var(--line); background: rgba(250, 248, 245, 0.96); }
header.site .container { display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-family: var(--serif); font-size: 1.3rem; letter-spacing: 0.01em; color: var(--ink); white-space: nowrap; }
header.site .wordmark { display: inline-flex; align-items: center; }
.logo-img { height: 70px; width: auto; display: block; }
@media (max-width: 520px) { .logo-img { height: 54px; } }
nav.primary ul { list-style: none; display: flex; gap: 2.1rem; margin: 0; padding: 0; align-items: center; }
nav.primary a { font-size: 0.94rem; color: var(--ink-soft); position: relative; padding: 0.25rem 0; }
nav.primary a.navlink::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0; background: var(--gold); transition: width .25s ease; }
nav.primary a.navlink:hover::after, nav.primary a.navlink:focus-visible::after, nav.primary a.navlink[aria-current="page"]::after { width: 100%; }
nav.primary a.navlink[aria-current="page"] { color: var(--ink); }
nav.primary a.btn { color: var(--surface); padding: 0.6rem 1.2rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--sans); font-size: 0.94rem; font-weight: 600; letter-spacing: 0.01em; padding: 0.75rem 1.4rem; border-radius: 999px; background: var(--gold); color: var(--surface); border: 1px solid var(--gold); cursor: pointer; transition: background .2s ease, transform .2s ease, border-color .2s ease, color .2s ease; }
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn.ghost { background: transparent; color: var(--gold); border-color: var(--gold-soft); }
.btn.ghost:hover { background: rgba(176,142,114,0.08); border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: .3s; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Announcement bar ---------- */
.announce { position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 90; height: var(--announce-h); display: flex; align-items: center; justify-content: center; background: var(--bg-2); color: var(--gold); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; padding: 0 1rem; text-align: center; border-bottom: 1px solid var(--line); }
@media (max-width: 520px) { .announce { font-size: 0.6rem; letter-spacing: 0.16em; } }

/* ---------- Hero (home) ---------- */
.hero { padding-top: calc(var(--nav-h) + var(--announce-h) + clamp(2.6rem, 7vw, 5rem)); padding-bottom: clamp(3rem, 8vw, 5.5rem); position: relative; overflow: hidden; }
.hero::before, .page-hero::before { content: ""; position: absolute; left: -10vw; top: -10vh; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(circle at 40% 40%, rgba(176,142,114,0.10), rgba(176,142,114,0) 66%); pointer-events: none; z-index: 0; }
.hero .container, .page-hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 400; max-width: 14ch; margin-bottom: 1.4rem; }
.hero .lead { font-size: 1.14rem; max-width: 46ch; color: var(--muted); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Portraits: soft arch, no frame */
.hero-photo { position: relative; }
.hero-photo img { display: block; width: 100%; height: auto; border-radius: 50% 50% 16px 16px / 34% 34% 16px 16px; box-shadow: 0 34px 60px -34px rgba(42, 53, 60, 0.45); }

/* ---------- Inner page header ---------- */
.page-hero { padding-top: calc(var(--nav-h) + var(--announce-h) + clamp(2.4rem, 6vw, 4.2rem)); padding-bottom: clamp(2.4rem, 6vw, 4rem); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 18ch; margin-bottom: 1.2rem; }
.page-hero .lead { font-size: 1.12rem; max-width: 56ch; }

/* ---------- Sections ---------- */
section { scroll-margin-top: calc(var(--nav-h) + var(--announce-h)); }
.section { padding-block: clamp(3.6rem, 9vw, 6.5rem); }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 60ch; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1.1rem; }

/* ---------- Practice areas ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.6rem; }
.area { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius); padding: 1.8rem 1.6rem; }
.area h3 { font-size: 1.35rem; margin-bottom: 0.7rem; }
.area p { font-size: 0.98rem; }
.area ul { list-style: none; margin: 1.1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.4rem; }
.area li { font-family: var(--serif); font-size: 1.02rem; line-height: 1.5; color: var(--ink-soft); padding-left: 1.05rem; position: relative; }
.area li::before { content: ""; position: absolute; left: 0; top: 0.66em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.band { background: var(--ink); text-align: center; }
.band-inner { max-width: 60ch; margin-inline: auto; }
.band .eyebrow { color: var(--gold); }
.band h2 { color: #F4EEE4; font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.band p { color: rgba(244, 238, 228, 0.78); font-size: 1.05rem; }

.callout { margin-top: 2.4rem; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.6rem 1.8rem; }
.callout h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: 2.6rem; }
.step .n { width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.97rem; margin: 0; }

/* ---------- Call-to-action band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 0.9rem; }
.cta-band p { max-width: 52ch; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 1.8rem; }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-grid .hero-photo { position: sticky; top: calc(var(--nav-h) + var(--announce-h) + 1.5rem); }
.about-body h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin-bottom: 1.5rem; max-width: 18ch; }
.about-body p { font-size: 1.05rem; }
.sig { margin-top: 1.8rem; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.sig small { display: block; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; margin-top: 2.2rem; }
.cred-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.cred-group h2 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; font-weight: 600; line-height: 1.4; }
.cred-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.cred-group li { font-size: 1rem; color: var(--ink-soft); font-family: var(--serif); line-height: 1.4; }

/* ---------- Long-form text (privacy policy) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin: 2.4rem 0 0.8rem; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { font-size: 1rem; }
.prose ul { margin: 0 0 1.1rem; padding-left: 1.2rem; display: grid; gap: 0.45rem; }
.prose li { color: var(--muted); font-family: var(--serif); }
.prose .updated { font-size: 0.85rem; color: var(--muted); font-family: var(--sans); margin-bottom: 2rem; }

/* ---------- Standalone image ---------- */
.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-split .media { margin-bottom: 0; }
.hero-split h1 { margin-bottom: 1.2rem; }
.hero-split .lead { margin-bottom: 0; }
/* Landscape images: clean edges, soft depth */
.media { margin-bottom: 2rem; }
.media img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 28px 56px -32px rgba(42, 53, 60, 0.45); }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.contact-layout > * { min-width: 0; }
.contact-details { display: grid; gap: 1.5rem; }
.cd-item .cd-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.25rem; font-weight: 600; }
.cd-item .cd-value { color: var(--ink); font-size: 1.05rem; line-height: 1.55; }
.cd-item .cd-value a { border-bottom: 1px solid var(--gold-soft); }
.cd-item .cd-value a:hover { border-bottom-color: var(--gold); }
.cd-item .cd-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.2rem; }
.notice { margin-top: 2rem; padding: 1.3rem 1.4rem; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.notice h3 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.6rem; font-weight: 600; }
.notice ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.4rem; }
.notice li { font-family: var(--serif); font-size: 0.98rem; line-height: 1.5; color: var(--muted); }

/* ---------- Contact form ---------- */
.lead-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3.5vw, 2.2rem); box-shadow: 0 24px 60px -30px rgba(42,53,60,0.18); }
.lead-form h2 { font-size: 1.7rem; margin-bottom: 0.35rem; }
.lead-form .fine { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.4rem; }
.field { margin: 0 0 1.05rem; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field > label, .field > legend { display: block; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 0.4rem; color: var(--ink-soft); padding: 0; }
.req { color: var(--gold-2); }
.field input, .field select, .field textarea { width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink); padding: 0.78rem 0.9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); transition: border-color .2s ease, box-shadow .2s ease; }
.field input::placeholder, .field textarea::placeholder { color: #A39D91; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,142,114,0.18); }
.field textarea { resize: vertical; min-height: 130px; }
.field .hint { font-size: 0.8rem; color: var(--muted); margin: 0.35rem 0 0; font-family: var(--sans); }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.choice { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.95rem; color: var(--ink-soft); cursor: pointer; }
.field .choice input { width: 18px; height: 18px; padding: 0; margin: 0; accent-color: var(--gold); }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.86rem; line-height: 1.5; color: var(--ink-soft); margin: 0.3rem 0 1.2rem; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 0.15rem 0 0; flex: none; accent-color: var(--gold); }
.lead-form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 0.95rem; padding: 0.8rem 0.95rem; border-radius: 10px; font-size: 0.92rem; }
.form-status.info { background: rgba(176,142,114,0.12); color: var(--gold-2); border: 1px solid var(--gold-soft); }
.form-status.error { background: rgba(150, 60, 45, 0.07); color: #8A3A2E; border: 1px solid rgba(150, 60, 45, 0.28); }
.form-done { text-align: center; padding-block: 1.5rem; }
.form-done h2 { margin-bottom: 0.8rem; }

/* ---------- Footer ---------- */
footer.site { background: var(--footer-bg); color: var(--muted); padding-block: clamp(3rem, 7vw, 4.5rem); border-top: 1px solid var(--line); }
footer.site a { color: var(--ink-soft); }
footer.site a:hover { color: var(--gold); }
.foot-top { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between; }
.foot-brand .wordmark { color: var(--ink); }
.foot-brand .wordmark span { color: var(--gold); }
.foot-brand p { color: var(--muted); max-width: 34ch; margin-top: 1rem; font-size: 0.95rem; }
.social { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.social a { width: 38px; height: 38px; display: inline-flex; border-radius: 10px; transition: transform .2s ease, box-shadow .2s ease; }
.social a:hover, .social a:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 16px -6px rgba(42, 53, 60, 0.45); }
.social svg { width: 100%; height: 100%; display: block; }
.foot-cols { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.foot-col h4 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #69645B; margin: 0 0 0.9rem; font-weight: 600; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.foot-col a, .foot-col span { font-size: 0.95rem; }
.foot-col address { font-style: normal; }
.disclaimer { margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); font-size: 0.8rem; line-height: 1.6; color: #69645B; }
.disclaimer p { color: #69645B; font-size: 0.8rem; }
.copyright { margin-top: 1.4rem; font-size: 0.8rem; color: #625C52; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; justify-content: space-between; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom)); background: rgba(250,248,245,0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.mobile-cta .btn { width: 100%; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-photo { max-width: 340px; }
  .areas { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero-split { grid-template-columns: 1fr; gap: 2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .hero-photo { position: static; }
  .creds { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  nav.primary { position: fixed; inset: var(--nav-h) 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); transform: translateY(-130%); visibility: hidden; transition: transform .35s ease, visibility 0s linear .35s; padding: 1.2rem 0 1.6rem; }
  nav.primary.open { transform: translateY(0); visibility: visible; transition: transform .35s ease; }
  nav.primary ul { flex-direction: column; gap: 0.4rem; align-items: stretch; }
  nav.primary li { padding-inline: clamp(1.25rem, 5vw, 2.5rem); }
  nav.primary a { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
  nav.primary a.navlink::after { display: none; }
  nav.primary li:last-child { margin-top: 0.6rem; }
  nav.primary a.btn { display: flex; width: 100%; padding: 0.8rem 1.2rem; border-bottom: 1px solid var(--gold); }
  .nav-toggle { display: inline-flex; }
  .mobile-cta { display: block; }
  body { padding-bottom: 76px; }
}
@media (max-width: 600px) {
  .creds { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } * { transition: none !important; } }
