/* Poch Law. Look: Prabin's Figma "Poch Law - Website - Sep 30" (see DESIGN.md). */
:root {
  --navy: #112b4d;
  --panel: #f1f3f5;
  --paper: #ffffff;
  --blue: #2f6aaf;
  --sky: #4a9fc7;
  --ink: #000000;
  --strong: #333333;
  --text: #666666;
  --rule: #d9d9d9;
  --footer: #dddddd;
  --menu: #212121;
  --menu-hover: #3f3f3f;
  --font: Arial, "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font: 16px/1.5 var(--font);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--navy);
  font-weight: bold;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

/* Header */

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
}

.brand {
  display: block;
  flex: 0 1 auto;
}

.brand img {
  width: 200px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav {
  display: none;
}

.main-nav ul,
.menu-sheet ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 12px 0;
  color: var(--paper);
  font-size: 14px;
  line-height: 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--sky);
}

.menu-toggle {
  position: relative;
  z-index: 60;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--ink);
}

.menu-toggle img {
  width: 18.6775px;
  height: 15px;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  background: var(--menu-hover);
}

/* Slide-out menu, as on the old site: opens from the left over a dimmed page. */

.menu-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgb(0 0 0 / 0.5);
}

.menu-panel:target,
.menu-panel.is-open {
  display: block;
}

.menu-dismiss {
  position: absolute;
  inset: 0;
}

.menu-sheet {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 75%;
  max-width: 320px;
  padding: 88px 0 24px;
  overflow-y: auto;
  background: var(--menu);
}

.menu-sheet a {
  display: block;
  padding: 14px 24px;
  border-bottom: 1px solid var(--menu);
  color: var(--paper);
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.menu-sheet a:hover,
.menu-sheet a:focus-visible {
  background: var(--menu-hover);
}

.menu-sheet a[aria-current="page"] {
  color: var(--sky);
}

@media (prefers-reduced-motion: no-preference) {
  .menu-panel.is-open .menu-sheet {
    animation: sheet-in 200ms ease-out;
  }

  @keyframes sheet-in {
    from {
      transform: translateX(-100%);
    }
  }
}

/* Content panel */

.panel {
  background: var(--panel);
}

.content {
  min-width: 0;
}

.layout-feature .content {
  background: var(--paper);
}

.hero {
  margin: 0;
}

.hero img {
  width: 100%;
}

.content-body {
  padding: 32px 20px 40px;
}

.layout-feature .content-body {
  padding-top: 27px;
}

.content-body p {
  margin: 0 0 1em;
}

.content-body > :last-child {
  margin-bottom: 0;
}

.content-body a,
.aside-block a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.content-body a:hover {
  color: var(--blue);
}

.tagline {
  padding-left: 11px;
  border-left: 3px solid rgb(217 217 217 / 0.56);
  font-style: italic;
}

.tagline em {
  font-style: inherit;
}

.rule {
  width: 490px;
  max-width: 100%;
  height: 2px;
  margin: 20px 0 28px;
  border: 0;
  background: var(--rule);
}

.page-title + .rule {
  margin: 17px 0 30px;
}

.firm-title {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 20px;
  line-height: 23px;
  text-transform: uppercase;
}

.page-title {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 34px;
  text-transform: uppercase;
}

.lead {
  color: var(--strong);
  font-weight: bold;
}

.content-body .lead {
  margin-bottom: 30px;
}

.layout-feature .page-title ~ .lead {
  margin-bottom: 20px;
}

.section-title {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 16px;
  line-height: 18px;
  text-transform: uppercase;
}

.label-title {
  margin: 48px 0 20px;
  color: var(--text);
  font-size: 16px;
  line-height: 18px;
}

.quote-row {
  display: grid;
  grid-template-columns: 238px;
  gap: 24px;
  margin: 40px 0;
}

.quote-image {
  width: 238px;
  height: 269px;
  object-fit: cover;
}

.pull-quote {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.pull-quote p {
  margin: 0;
}

.resource-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-list li {
  position: relative;
  margin: 0 0 6px;
  padding-left: 12px;
}

.resource-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--text);
}

/* Sidebar and contact card */

.sidebar {
  padding: 40px 20px 48px 16px;
}

.aside-block {
  margin-bottom: 48px;
  padding-left: 4px;
}

.aside-block p {
  margin: 0 0 1em;
}

.aside-block p:last-child {
  margin-bottom: 0;
}

.contact-card .section-title {
  margin-left: 4px;
  margin-bottom: 28px;
}

.contact-list {
  margin: 0;
}

.contact-item + .contact-item {
  margin-top: 30px;
}

.contact-item dt {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 17px;
}

.contact-item .icon {
  position: absolute;
  top: 2px;
  left: 1px;
}

.icon-location {
  width: 11px;
  height: 14px;
}

.icon-phone {
  width: 12px;
  height: 12px;
}

.icon-fax,
.icon-email {
  left: 0;
}

.icon-fax {
  width: 14px;
  height: 12px;
}

.icon-email {
  width: 14.3px;
  height: 11px;
}

.contact-item dd {
  margin: 10px 0 0 24px;
  color: var(--ink);
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
}

.contact-item dd a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-item dd a:hover,
.contact-item dd a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
}

/* Footer */

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 32px;
  color: var(--footer);
  font-size: 13px;
  line-height: 15px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--sky);
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  text-decoration: underline;
}

@media (min-width: 560px) {
  .quote-row {
    grid-template-columns: 238px 240px;
    gap: 40px;
  }
}

@media (min-width: 1000px) {
  .header-inner {
    align-items: flex-start;
    height: 111px;
    padding: 0;
  }

  .brand {
    margin-top: 28px;
  }

  .brand img {
    width: 282px;
  }

  .header-actions {
    margin-top: 42px;
  }

  .main-nav {
    display: block;
  }

  .main-nav ul {
    display: flex;
    gap: 32px;
  }

  .menu-toggle {
    width: 39px;
    height: 39px;
  }

  .panel {
    display: grid;
    grid-template-columns: 629px 331px;
    align-items: start;
  }

  .layout-feature .panel {
    padding-bottom: 20px;
  }

  .layout-feature .content {
    align-self: stretch;
  }

  .hero img {
    width: 629px;
    height: 398px;
  }

  .content-body {
    padding: 70px 91px 70px 50px;
  }

  .layout-plain .content-body {
    padding-right: 50px;
  }

  .layout-feature .content-body {
    padding: 27px 91px 50px 50px;
  }

  .layout-feature .page-title {
    margin-top: 3px;
  }

  .sidebar {
    padding: 70px 53px 70px 45px;
  }

  .aside-block {
    margin-bottom: 63px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 0 30px;
  }
}
