:root {
  /* Shared brand colors, typefaces, and layout measurements. */
  --ink: #1a2332;
  --paper: #f3efe6;
  --surface: #fffcf8;
  --brass: #5c4030;
  --muted: #5e584e;
  --line: #ddd4c4;
  --line-strong: #bfb3a1;
  --shadow: 0 18px 45px rgba(26, 35, 50, 0.08);
  --shadow-soft: 0 8px 24px rgba(26, 35, 50, 0.06);
  --font-display: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --measure: 68ch;
  --header: 4.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  background-image:
    linear-gradient(rgba(26, 35, 50, 0.018) 1px, transparent 1px);
  background-size: 100% 28px;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: 2.5rem;
  font-size: clamp(2.35rem, 4.6vw, 4.15rem);
}

h2 {
  font-size: 2rem;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--brass);
}

a:hover {
  color: var(--ink);
}

a,
.btn {
  transition: color 160ms ease, background-color 160ms ease,
    border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

:focus-visible {
  outline: 3px solid rgba(92, 64, 48, 0.48);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.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;
}

/* Preview and header: production notice, identity, and primary navigation. */
.preview-note {
  margin: 0;
  background: #232f40;
  color: #fffaf2;
  font-size: 0.95rem;
  line-height: 1.45;
  padding: 0.55rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.wrap {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 239, 230, 0.96);
  border-bottom: 1px solid rgba(191, 179, 161, 0.78);
  backdrop-filter: blur(14px);
}

.bar {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--header);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}

.brand:hover {
  color: var(--ink);
}

.mark {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

/* Mobile navigation: checkbox state controls the menu without a framework. */
.nav-toggle {
  position: absolute;
  left: -999px;
  width: 1px;
  height: 1px;
}

.nav-burger {
  margin-left: auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.burger-lines,
.burger-lines::before,
.burger-lines::after {
  display: block;
  width: 1.25rem;
  height: 1px;
  background: var(--ink);
  position: relative;
}

.burger-lines::before,
.burger-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger-lines::before {
  top: -6px;
}

.burger-lines::after {
  top: 6px;
}

.nav-toggle:checked + .nav-burger .burger-lines {
  background: transparent;
}

.nav-toggle:checked + .nav-burger .burger-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-burger .burger-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-toggle:focus-visible + .nav-burger {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.label-close {
  display: none;
}

.nav-toggle:checked + .nav-burger .label-open {
  display: none;
}

.nav-toggle:checked + .nav-burger .label-close {
  display: inline;
}

.nav-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0.75rem 1rem;
  flex-direction: column;
  align-items: stretch;
}

.nav-toggle:checked ~ .nav-panel {
  display: flex;
}

.nav-panel a {
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  position: relative;
}

.nav-panel a.is-active {
  box-shadow: none;
}

.nav-panel a.is-active:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.32rem;
  height: 2px;
  background: var(--brass);
}

.nav-panel .nav-cta {
  margin: 0.5rem 0.75rem 0.25rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
}

.btn:hover {
  background: var(--brass);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--brass);
  background: transparent;
  color: var(--brass);
}

button.btn {
  width: 100%;
}

/* Page sections: the hero, cards, and consultation layouts share these rules. */
.hero {
  position: relative;
  padding: 4.25rem 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(92, 64, 48, 0.12), transparent 22rem),
    linear-gradient(135deg, rgba(255, 252, 248, 0.78), transparent 58%);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -12rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(92, 64, 48, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid,
.split,
.card-row,
.step-row,
.foot-grid,
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}

.hero-copy,
.split-copy,
.contact-main,
.hero-aside,
.split-aside,
.contact-aside,
.card,
.step,
.guide-card,
.service,
.foot-block {
  flex: 1 1 100%;
  min-width: 0;
}

.eyebrow,
.kicker {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 0.85rem;
}

.lede {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.6;
  max-width: var(--measure);
  color: var(--ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.nav-panel a.nav-cta {
  color: var(--paper);
  background: var(--ink);
  padding: 0.65rem 1.1rem;
}

.nav-panel a.nav-cta:hover {
  background: var(--brass);
  color: var(--paper);
}

#practices,
#consider,
#content {
  scroll-margin-top: 5.5rem;
}

.plate {
  width: min(100%, 20rem);
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 1.25rem 1.25rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(26, 35, 50, 0.18);
  transform: rotate(1deg);
}

.hero-aside,
.split-aside {
  display: flex;
  justify-content: center;
}

.plate svg {
  width: 100%;
  height: auto;
  display: block;
}

.plate-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #d9d2c5;
}

.plate figcaption {
  margin: 0.85rem 0 0;
  color: var(--paper);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 4.25rem 0;
}

.section-tight {
  padding-top: 0;
}

.section-rule {
  border-top: 1px solid var(--line);
}

.prose {
  max-width: var(--measure);
}

.ph {
  border-bottom: 1px dotted var(--brass);
  font-style: italic;
}

.card,
.step,
.guide-card,
.service {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.55rem 1.55rem 1.65rem;
  border-radius: 3px;
  box-shadow: var(--shadow-soft);
}

.card,
.guide-card,
.service {
  position: relative;
  overflow: hidden;
}

.card::before,
.guide-card::before,
.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3.5rem;
  height: 3px;
  background: var(--brass);
}

.card:hover,
.guide-card:hover,
.service:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card h3,
.step h3,
.guide-card h3,
.service h3 {
  margin-bottom: 0.45rem;
}

.card p,
.step p,
.guide-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service p,
.consider p {
  margin-bottom: 0;
  color: var(--ink);
}

.card p + p,
.consider p + p {
  margin-top: 0.75rem;
}

.index-no {
  display: block;
  font-family: var(--font-display);
  color: var(--brass);
  margin-bottom: 0.75rem;
}

.card a,
.guide-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.35rem;
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.step {
  background: transparent;
  border: 0;
  border-top: 2px solid var(--line);
  box-shadow: none;
  padding: 1.35rem 0 0;
}

.attorney-name {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.35rem;
}

.credential {
  margin: 1.25rem 0 0;
}

.credential div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  border-top: 1px solid var(--line);
  padding: 0.8rem 0;
}

.credential dt {
  flex: 1 1 8rem;
  font-weight: 600;
}

.credential dd {
  flex: 2 1 12rem;
  margin: 0;
  color: var(--muted);
}

.consider {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  column-gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  max-width: 52rem;
}

.consider .kicker,
.consider h3,
.consider p {
  grid-column: 2;
}

.consider .kicker {
  grid-column: 1;
  grid-row: 1 / span 4;
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--brass);
  background: var(--surface);
}

.consider h3 {
  margin-bottom: 0.45rem;
}

.bring {
  margin: 0;
  padding-left: 1.15rem;
  max-width: var(--measure);
}

.bring li {
  margin: 0.4rem 0;
  padding-left: 0.2rem;
}

.bring li::marker {
  color: var(--brass);
}

.cta-band {
  background: var(--ink);
  color: var(--paper);
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.035), transparent 38%);
}

.cta-band h2,
.cta-band p {
  color: var(--paper);
}

.cta-band .btn {
  background: var(--paper);
  color: var(--ink);
}

.cta-band .btn:hover {
  background: var(--brass);
  color: var(--paper);
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: var(--paper);
}

.site-footer .kicker {
  color: var(--paper);
  opacity: 0.72;
}

.foot-block {
  min-width: 0;
}

.foot-block a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.foot-block p {
  color: var(--paper);
}

.fine-print {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(243, 239, 230, 0.25);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--paper);
  max-width: 75ch;
}

/* Form: all text, select, textarea, and acknowledgment controls. */
.field {
  margin: 0 0 1rem;
}

.field label,
.field legend {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.hint,
.field-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

.hint {
  color: var(--muted);
}

.field-error {
  color: var(--ink);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  border-radius: 0;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.choice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}

.choice label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-weight: 400;
}

.choice input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
}

.ack {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0 0 1rem;
}

.ack input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin-top: 0.35rem;
  flex: 0 0 auto;
}

.status {
  background: var(--surface);
  border: 1px solid var(--ink);
  padding: 1.25rem;
  max-width: var(--measure);
}

.status:focus {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.callout {
  border-left: 3px solid var(--brass);
  padding-left: 1rem;
  max-width: var(--measure);
}

@media (max-width: 799px) {
  .hero {
    padding: 3rem 0 3.5rem;
  }

  .hero::after {
    display: none;
  }

  .plate {
    transform: none;
  }

  .consider {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    column-gap: 0.85rem;
  }

  .section {
    padding: 3rem 0;
  }
}

@media (min-width: 800px) {
  .hero-copy,
  .split-copy,
  .contact-main {
    flex: 1.3 1 22rem;
  }

  .hero-aside,
  .split-aside,
  .contact-aside {
    flex: 0.8 1 16rem;
  }

  .card,
  .step,
  .guide-card,
  .service,
  .foot-block {
    flex: 1 1 16rem;
  }
}

@media (min-width: 1080px) {
  .nav-burger {
    display: none;
  }

  .nav-panel {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .nav-panel .nav-cta {
    margin: 0 0 0 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media print {
  .preview-note,
  .nav-burger,
  .nav-panel,
  .btn,
  .skip {
    display: none !important;
  }

  .site-header {
    position: static;
  }

  body,
  .site-footer,
  .cta-band,
  .preview-note {
    background: #fff;
    color: #000;
  }
}
