/* Ludemann PLLC website - rebuilt from the Squarespace site captured 7 October 2026.
   Sizes scale with screen width the way the Squarespace site did. */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,600;1,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap");   /* body text: Inter (was Arial); headings: Source Serif 4 (was Century Old Style). Adam, 22 Nov 2026 */
:root {
  --slate: #4c6666;          /* headings, site title, menu */
  --text: #2c2c2c;           /* body text: soft charcoal, as Bathaee Dunne (Adam, 22 Nov 2026); was #000000 */
  --footer-bg: #535251;      /* footer band */
  --heading-font: "Source Serif 4", Georgia, serif;   /* Google Fonts (Adam, 22 Nov 2026); was "century-old-style-std" from Adobe Fonts project xcx6zqa */
  --body-font: "Inter", Arial, Helvetica, sans-serif;
  --gutter: 3vw;
  --header-h: 125px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--text);
  font-family: var(--body-font); font-size: 16px; line-height: 1.7;   /* matched to Bathaee Dunne's text (Adam, 22 Nov 2026); was calc(16.51px + 0.1878vw), 1.6 */
  letter-spacing: normal;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; z-index: 100; background: #fff; padding: 6px 10px; }

/* Header */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
  color: var(--slate);
}
.site-header.on-photo { color: #fff; }
.site-title {
  font-family: var(--heading-font); font-size: 24px; line-height: 1.3;   /* was calc(23.01px + 0.4591vw) */
  letter-spacing: 0.01em; text-decoration: none; color: inherit;
}
.site-nav { display: flex; gap: 1.2em; }
.site-nav a {
  font-family: var(--heading-font); font-size: 17px; line-height: 1.6;   /* was calc(16.51px + 0.1878vw) */
  letter-spacing: 0.01em; text-decoration: none; color: inherit;
}
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.menu-button { display: none; }

/* Page body */
.section {
  min-height: calc(69.4vh + 182px);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 3vw) var(--gutter) 3vw;
}
.column { width: 50%; margin: 0 auto; }
h3, h4 { font-family: var(--heading-font); font-weight: 400; color: var(--slate); letter-spacing: 0.01em; margin: 0 0 28px; }
h3 { font-size: 24px; line-height: 1.26; }   /* was calc(20.687px + 0.5009vw) */
h4 { font-size: 19px; line-height: 1.27; }   /* was calc(18.179px + 0.3130vw) */
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
main p, main li { text-align: justify; hyphens: auto; }   /* justified body text (Adam, 25 Nov 2026) */
.center { text-align: center; }

/* Home */
.hero { height: 100vh; min-height: 400px; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center; max-width: none; }

/* Attorneys */
.attorney { display: grid; grid-template-columns: repeat(24, 1fr); align-items: start; }
.attorney-photo { grid-column: 1 / 9; text-align: center; }
.attorney-photo img { width: 16%; min-width: 174px; margin: 0 auto 23px; }
.attorney-photo h4 { margin: 0; text-align: center; }
.attorney-photo .role { color: var(--text); }
.attorney-text { grid-column: 9 / 21; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(24, 1fr); align-items: center; }
.contact-map { grid-column: 1 / 12; }
.contact-map img { width: 100%; }
.contact-text { grid-column: 14 / 25; }

/* Footer */
.site-footer {
  background: var(--footer-bg); color: #fff; text-align: center;
  font-size: 14px; line-height: 1.6; min-height: 290px;
  display: flex; align-items: center; justify-content: center; padding: 40px var(--gutter);
}
.site-footer p { margin: 0; }

/* Phones */
@media (max-width: 767px) {
  :root { --gutter: 6vw; --header-h: 84px; }
  .site-nav { display: none; }
  .menu-button {
    display: block; background: none; border: 0; padding: 8px 0; cursor: pointer; color: inherit; width: 36px;
  }
  .menu-button span { display: block; height: 1px; background: currentColor; margin: 7px 0; }
  .menu-open .site-nav {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6em;
    position: fixed; inset: 0; background: #fff; z-index: 20;
  }
  .menu-open .site-nav a { color: var(--slate); font-size: calc(23.01px + 0.4591vw); }
  .menu-open .menu-button { position: fixed; right: var(--gutter); top: 24px; z-index: 30; color: var(--slate); }
  .column { width: 100%; }
  .attorney, .contact { display: block; }
  .attorney-photo img { width: 174px; }
  .attorney-photo { margin-bottom: 20px; }
  .contact-map { margin-bottom: 40px; }
  .site-footer { min-height: 404px; }
}

/* Bulleted lists in page text (added 22 Nov 2026) */
.list { margin: 6px 0 26px; padding-left: 1.5em; }   /* more air around lists (Adam, 22 Nov 2026) */
.list li { margin: 0 0 12px; padding-left: 0.25em; line-height: 1.6; }
.list li:last-child { margin-bottom: 0; }
