/* #2E3D4A #4A5A67 #E6E3DD #C9A26A #1B2329 */

html {
  --white: #ffffff;
  --text-color: #e6e3dd;
  --accent-light: #c9a26a;
  --accent-dark: #a17e4f;
  --background-light: #4a5a67;
  --background-medium: #2e3d4a;
  --background-dark: #1b2329;
}

* {
  /* height of nav bar */
  scroll-margin-top: 87px;
}
/* =========================================== */

body {
  /* background-color: var(--background-dark); */
  background-color: white;
  color: var(--text-color);

  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-size: 14px;
}

a {
  color: var(--accent-light);
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: 64px;
}

@media (max-width: 860px) {
  * {
    scroll-margin-top: 73px;
  }
}

@media (max-width: 800px) {
  section {
    padding: 48px 24px;
  }
}

h3 {
  font-family: "Libre Baskerville", serif;
  font-weight: 500;
  color: var(--background-dark);
  font-size: 32px;
  text-wrap: balance;
  line-height: 1.3;
}

h4 {
  font-size: 20px;
  font-family: "Open Sans", sans-serif;
  color: var(--accent-dark);
  font-weight: 500;
  line-height: 1.5;
}

p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--background-dark);
  font-family: "Open Sans", sans-serif;
  margin-bottom: 16px;
}

/* ======================================= */

#header {
  padding: 0 38px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid #1b232914;
  backdrop-filter: blur(12px);
}

@media (max-width: 800px) {
  #header {
    padding: 0 24px;
  }
}

.header-wrapper {
  position: relative;
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.site-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--background-dark);
  font-family: "Libre Baskerville", serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.site-brand:hover {
  color: var(--background-dark);
  text-decoration: none;
}

.site-brand small {
  align-self: stretch;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: var(--accent-dark);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-brand small::before,
.site-brand small::after {
  content: "";
  height: 1px;
  background: var(--accent-dark);
}

.menu-toggle {
  display: none;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  list-style-type: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

/* Change this width to control when the mobile navigation appears. */
@media (max-width: 860px) {
  .header-wrapper {
    min-height: 72px;
    align-items: center;
    flex-direction: row;
    gap: 20px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 10px 10px;
    border: 0;
    background: transparent;
    color: var(--background-dark);
    cursor: pointer;
  }

  .menu-toggle-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .menu-toggle:focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: 3px;
  }

  .menu-toggle-icon {
    position: relative;
    width: 24px;
    height: 18px;
  }

  .menu-toggle-icon span {
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .menu-toggle-icon span:nth-child(1) {
    top: 0;
  }

  .menu-toggle-icon span:nth-child(2) {
    top: 8px;
  }

  .menu-toggle-icon span:nth-child(3) {
    top: 16px;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .primary-navigation {
    position: absolute;
    top: 100%;
    right: -24px;
    left: -24px;
    max-height: 0;
    overflow: hidden;
    background: rgb(255 255 255 / 98%);
    border-top: 1px solid #1b232914;
    box-shadow: 0 16px 28px rgb(27 35 41 / 12%);
    opacity: 0;
    visibility: hidden;
    transition:
      max-height 220ms ease,
      opacity 160ms ease,
      visibility 160ms ease;
  }

  .primary-navigation.is-open {
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  .top-nav {
    display: block;
    width: 100%;
    padding: 12px 24px 20px;
    white-space: normal;
  }

  .top-nav li + li {
    border-top: 1px solid #1b232914;
  }

  .top-nav .top-link {
    display: block;
    padding: 15px 0;
    font-size: 13px;
    transition:
      padding-left 160ms ease,
      background-color 160ms ease,
      color 160ms ease;
  }

  .top-nav .top-link::after {
    display: none;
  }

  .top-nav .top-link-contact {
    margin-top: 8px;
    padding: 14px 16px;
    text-align: center;
  }

  .top-nav .top-link:not(.top-link-contact):hover {
    padding-left: 12px;
    background: #f7f6f2;
    color: var(--background-dark);
  }

  .top-nav .top-link:not(.top-link-contact):focus-visible {
    padding-left: 12px;
    background: #f7f6f2;
    color: var(--background-dark);
    outline: none;
  }
}

@media (max-width: 360px) {
  .menu-toggle {
    gap: 0;
  }

  .menu-toggle-label {
    display: none;
  }
}

.top-link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: #4a5a67;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.top-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--accent-light);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.top-link:hover {
  color: var(--background-dark);
  text-decoration: none;
}

.top-link:hover::after,
.top-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.top-link.active {
  color: var(--background-dark);
}

.top-link-contact {
  padding: 10px 13px;
  background: var(--background-dark);
  color: var(--white);
}

.top-link-contact:hover,
.top-link-contact.active {
  background: var(--accent-dark);
  color: var(--white);
}

.top-link-contact::after {
  display: none;
}

/* ======================================= */

#home {
  position: relative;
  padding-top: clamp(32px, 7vw, 68px);
  padding-bottom: clamp(28px, 6vw, 48px);
  background: var(--white);
}

.hero-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1024px;
  flex-direction: row-reverse;
}

@media (max-width: 900px) {
  .hero-wrapper {
    display: grid;
    grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 5vw, 48px);
  }
}

.hero-content {
  max-width: 670px;
  padding-left: clamp(20px, 3vw, 40px);
  /* border-left: 1px solid var(--accent-light); */
}

.hero-eyebrow {
  margin-bottom: 18px;
}

.hero-title {
  margin: 0;
  color: var(--background-dark);
  font-family: "Libre Baskerville", serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.hero-title span {
  display: inline;
}

.hero-subtitle {
  max-width: 530px;
  margin: 24px 0 0;
  color: #4a5a67;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 400;
  line-height: 1.65;
  text-wrap: balance;
}

.hero-subtitle > :first-child {
  margin-top: 0;
}

.hero-subtitle > :last-child {
  margin-bottom: 0;
}

.hero-actions {
  margin-top: 34px;
}

.hero-image {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 0 0 auto;
  top: -24px;
  /* margin-left: -19px; */
}

@media (max-width: 900px) {
  #home {
    padding-top: clamp(38px, 6vw, 52px);
    padding-right: clamp(24px, 5vw, 48px);
    padding-bottom: clamp(38px, 6vw, 52px);
    padding-left: clamp(24px, 5vw, 48px);
  }

  .hero-content {
    grid-column: 2;
    padding-left: 0;
  }

  .hero-title {
    font-size: clamp(38px, 5.2vw, 48px);
    line-height: 1.12;
  }

  .hero-title span {
    display: block;
  }

  .hero-subtitle {
    margin-top: 20px;
    font-size: clamp(16px, 2.2vw, 18px);
    line-height: 1.55;
    text-wrap: pretty;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-image {
    top: 0;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  #home {
    padding-top: 32px;
    padding-bottom: 38px;
  }

  .hero-wrapper {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 30px;
  }

  .hero-content {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(36px, 10.5vw, 44px);
  }

  .hero-subtitle {
    max-width: 480px;
    margin-top: 18px;
    margin-right: auto;
    margin-left: auto;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-image {
    order: -1;
    width: 100%;
    max-width: 280px;
  }
}

.hero-image picture {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

a.hero-contact-button {
  display: inline-block;
  background-color: var(--accent-dark);
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 24px;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 160ms ease;

  &:hover {
    background-color: var(--background-dark);
    color: var(--white);
    text-decoration: none;
  }
}

@media (max-width: 420px) {
  a.hero-contact-button {
    display: block;
    width: 100%;
    padding: 14px 18px;
    text-align: center;
  }
}

/* ======================================= */

section#lexpert {
  padding-top: 0;
  padding-bottom: clamp(40px, 7vw, 58px);
  background: var(--white);
}

@media (max-width: 800px) {
  section#lexpert {
    padding-bottom: 58px;
  }
}

.lexpert-wrapper {
  display: flex;
  gap: 24px;
  padding-top: 48px;
  border-top: 1px solid #1b23291c;
  justify-content: center;
  align-items: center;
  max-width: 1024px;
  /* padding-left: 110px; */
}

@media (max-width: 600px) {
  .lexpert-wrapper {
    align-items: center;
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .lexpert-content {
    max-width: 460px;
  }
}

.lexpert-mark {
  width: 154px;
  padding-right: 24px;
  border-right: 1px solid #1b23291c;
}

@media (max-width: 600px) {
  .lexpert-mark {
    order: 1;
    width: 155px;
    margin: 0;
    padding: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
}

.lexpert-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.lexpert-eyebrow {
  color: #c5112f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.lexpert-content h2 {
  margin: 0;
  color: var(--background-dark);
  font-family: "Libre Baskerville", serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.3;
}

.lexpert-content > p:last-child {
  margin: 0;
  margin-top: 1px;
  color: #657078;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

/* ======================================= */

section#about {
  position: relative;
  overflow: hidden;
  padding-top: 108px;
  padding-bottom: 112px;
  background: #f7f6f2;
}

@media (max-width: 800px) {
  section#about {
    padding-top: 72px;
    padding-bottom: 76px;
  }
}

section#about::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 32%;
  height: 100%;
  /* content: ""; */
  background: var(--background-dark);
}

@media (max-width: 800px) {
  section#about::before {
    width: 100%;
    height: 255px;
  }
}

.about-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(48px, 8vw, 80px);
  width: 100%;
}

@media (max-width: 800px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

.about-left {
  position: relative;
  background: white;
}

@media (max-width: 800px) {
  .about-left {
    position: relative;
    top: auto;
    order: 1;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .about-left {
    width: 100%;
  }
}

.about-portrait-frame {
  position: relative;
  margin: 0;
  padding: 12px 12px 0;
  /* background: var(--white); */
  /* box-shadow: -1px 1px 0 rgba(201, 162, 106, 0.75); */
}

@media (max-width: 800px) {
  .about-portrait-frame {
    width: min(82%, 360px);
    margin: 0 auto;
  }

  .about-portrait-frame figcaption {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about-portrait-frame {
    width: calc(100% - 20px);
  }
}

.about-portrait-frame::before {
  position: absolute;
  z-index: -1;
  top: -20px;
  right: -20px;
  width: 72px;
  height: 72px;
  /* content: ""; */
  border-top: 1px solid var(--accent-light);
  border-right: 1px solid var(--accent-light);
}

.about-portrait-frame > a,
.about-portrait-frame picture {
  display: block;
  width: 100%;
}

.about-portrait-frame picture {
  aspect-ratio: 4 / 5;
}

.about-portrait {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.about-portrait-frame figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 8px 21px;
  color: #657078;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-portrait-frame figcaption span {
  color: var(--background-dark);
  font-family: "Libre Baskerville", serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.section-eyebrow {
  margin-bottom: 15px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.about-hero-content {
  max-width: 760px;
}

.about-hero-content h3 {
  max-width: 660px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.22;
}

.about-hero-content h4 {
  max-width: 610px;
  margin-top: 18px;
  text-wrap: balance;
}

.about-hero-content p {
  margin: 21px 0 0;
}

.about-hero-content h3 + p,
.about-hero-content h4 + p {
  margin-top: 34px;
}

.about-hero-content ol {
  margin: 21px 0 0;
  padding-left: 24px;
}

.about-hero-content li + li {
  margin-top: 9px;
}

.about-hero-content blockquote {
  max-width: 710px;
  margin: 34px 0 0;
}

.about-hero-content blockquote p {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}

@media (max-width: 480px) {
  .about-hero-content blockquote p {
    font-size: 16px;
  }
}

.about-hero-content hr {
  margin: 34px 0 0;
  border: 0;
  border-top: 1px solid #1b23291c;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 35px 0 32px;
  padding: 0;
  border-top: 1px solid #1b23291c;
  border-bottom: 1px solid #1b23291c;
}

@media (max-width: 800px) {
  .about-highlights {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.about-highlights div {
  padding: 19px 0 18px;
}

.about-highlights div + div {
  border-left: 1px solid #1b23291c;
  padding-left: 18px;
}

@media (max-width: 800px) {
  .about-highlights div,
  .about-highlights div + div {
    padding: 15px 0;
    border-left: 0;
  }

  .about-highlights div + div {
    border-top: 1px solid #1b23291c;
  }
}

.about-highlights dt {
  color: var(--background-dark);
  font-family: "Libre Baskerville", serif;
  font-size: 20px;
  line-height: 1.35;
}

.about-highlights dd {
  margin: 5px 0 0;
  color: #687176;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.45;
  text-wrap: balance;
}

.about-copy {
  max-width: 760px;
}

.about-copy p {
  margin: 0 0 21px;
}

.about-copy hr {
  margin: 34px 0 30px;
  border: 0;
  border-top: 1px solid #1b23291c;
}

.about-accolade {
  color: var(--background-dark);
  font-weight: 700;
}

.about-credentials {
  width: 100%;
  padding: 24px 20px 24px;
  border-top: 1px solid #1b23291c;
}

.about-credentials h4 {
  margin-bottom: 18px;
  color: var(--background-dark);
  font-family: "Libre Baskerville", serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.4;
}

.about-credentials ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-credentials ul + h4 {
  margin-top: 36px;
}

.about-credentials li {
  position: relative;
  padding-left: 18px;
  color: var(--background-dark);
  font-size: 15px;
  line-height: 1.65;
}

.about-credentials li::before {
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--accent-light);
}

/* ======================================= */

#services {
  padding-top: 108px;
  padding-bottom: 112px;
  background: var(--white);
}

.services-wrapper {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(52px, 9vw, 136px);
}

@media (max-width: 900px) {
  #services {
    padding-top: clamp(68px, 8vw, 80px);
    padding-right: clamp(24px, 5vw, 48px);
    padding-bottom: clamp(72px, 8vw, 84px);
    padding-left: clamp(24px, 5vw, 48px);
  }

  .services-wrapper {
    grid-template-columns: 1fr;
    gap: 52px;
  }
}

.services-intro {
  position: sticky;
  top: 116px;
}

@media (max-width: 900px) {
  .services-intro {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    column-gap: clamp(32px, 6vw, 56px);
    align-items: center;
  }

  .services-intro-copy {
    align-self: center;
  }
}

.services-intro h3 {
  max-width: 420px;
  margin: 0;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.25;
}

.services-intro h4 {
  max-width: 400px;
  margin: 18px 0 0;
  font-size: 17px;
}

.services-image-frame {
  width: min(100%, 368px);
  margin-top: 38px;
  padding-bottom: 12px;
}

@media (max-width: 900px) {
  .services-image-frame {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 300px;
    margin: 0;
    justify-self: end;
  }
}

@media (max-width: 680px) {
  #services {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .services-wrapper {
    gap: 40px;
  }

  .services-intro {
    display: block;
    text-align: center;
  }

  .services-intro h3 {
    max-width: 520px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(29px, 8vw, 36px);
  }

  .services-intro h4 {
    max-width: 480px;
    margin-right: auto;
    margin-left: auto;
    font-size: 16px;
  }

  .services-image-frame {
    width: 100%;
    max-width: 280px;
    margin: 32px auto 0;
  }
}

.services-accordion {
  border-top: 1px solid #1b23291c;
}

.service-item {
  border-bottom: 1px solid #1b23291c;
}

.service-item summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  padding: 25px 0 24px;
  cursor: pointer;
  list-style: none;
}

.service-item summary::-webkit-details-marker {
  display: none;
}

.service-item summary::before {
  width: 9px;
  height: 9px;
  margin-top: 7px;
  margin-left: 7px;
  content: "";
  border-right: 2px solid var(--accent-dark);
  border-bottom: 2px solid var(--accent-dark);
  transform: rotate(-45deg);
  transform-origin: center;
  transition: transform 180ms ease;
}

.service-item summary:hover .service-title {
  color: var(--accent-dark);
}

.service-item summary:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 4px;
}

.service-item[open] summary::before {
  transform: rotate(45deg);
}

.service-summary-copy {
  display: grid;
  gap: 6px;
}

.service-title {
  color: var(--background-dark);
  font-family: "Libre Baskerville", serif;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  transition: color 160ms ease;
  user-select: none;
}

.service-subtitle {
  color: #657078;
  font-size: 16px;
  line-height: 1.55;
}

.service-panel {
  max-width: 690px;
  margin: -2px 48px 0;
  padding: 0 0 28px;
}

.service-panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 680px) {
  .service-item summary {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 0;
  }

  .service-title {
    font-size: clamp(18px, 5vw, 21px);
  }

  .service-subtitle {
    font-size: 14px;
  }

  .service-panel {
    margin-left: 40px;
    margin-right: 0;
  }
}

@media (max-width: 420px) {
  .service-item summary {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
  }

  .service-subtitle {
    font-size: 13px;
  }

  .service-panel {
    margin-left: 32px;
  }
}

/* ======================================= */

#cases {
  padding-top: 108px;
  padding-bottom: 112px;
  background: var(--background-dark);
}

@media (max-width: 900px) {
  #cases {
    padding-top: clamp(68px, 8vw, 80px);
    padding-right: clamp(24px, 5vw, 48px);
    padding-bottom: clamp(72px, 8vw, 84px);
    padding-left: clamp(24px, 5vw, 48px);
  }
}

.cases-wrapper {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(52px, 9vw, 136px);
}

@media (max-width: 900px) {
  .cases-wrapper {
    grid-template-columns: 1fr;
    gap: 52px;
  }
}

.cases-intro {
  position: sticky;
  top: 116px;
}

@media (max-width: 900px) {
  .cases-intro {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 380px);
    column-gap: clamp(32px, 6vw, 56px);
    align-items: center;
  }

  .cases-intro-copy {
    align-self: center;
  }
}

.cases-intro .section-eyebrow {
  color: var(--accent-light);
}

.cases-intro h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.25;
}

.cases-image {
  width: min(100%, 340px);
  margin: 38px 0 0;
  padding: 14px;
  background: var(--background-dark);
  box-shadow: -1px 1px 0 rgb(201 162 106 / 70%);
}

@media (max-width: 900px) {
  .cases-image {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 380px;
    margin: 0;
    justify-self: end;
  }
}

@media (max-width: 680px) {
  #cases {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .cases-wrapper {
    gap: 40px;
  }

  .cases-intro {
    display: block;
    text-align: center;
  }

  .cases-intro h3 {
    max-width: 520px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(29px, 8vw, 36px);
  }

  .cases-image {
    width: 100%;
    max-width: 420px;
    margin: 32px auto 0;
  }
}

.cases-image picture {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.cases-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cases-list {
  border-top: 1px solid rgb(230 227 221 / 23%);
}

.case-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  padding: 28px 0 29px;
  border-bottom: 1px solid rgb(230 227 221 / 23%);
}

.case-number {
  padding-top: 5px;
  color: var(--accent-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.case-content h4 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(17px, 1.65vw, 20px);
  font-weight: 400;
  line-height: 1.5;
}

.case-content h4 a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgb(201 162 106 / 65%);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.case-content h4 a:hover {
  color: var(--accent-light);
}

.case-content h4 a:focus-visible,
.case-content p a:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 4px;
}

.case-content p {
  margin: 13px 0 0;
  color: #d4d3cd;
  font-size: 15px;
  line-height: 1.72;
}

.case-content p a {
  color: var(--accent-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 680px) {
  .case-item {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    padding: 24px 0 25px;
  }

  .case-content h4 {
    font-size: clamp(17px, 4.5vw, 19px);
  }

  .case-content p {
    font-size: 14px;
    line-height: 1.68;
  }
}

@media (max-width: 420px) {
  .case-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .case-number {
    padding-top: 0;
  }
}

/* ======================================= */

#media {
  padding-top: 108px;
  padding-bottom: 112px;
  background: #f7f6f2;
}

@media (max-width: 800px) {
  #media {
    padding-top: 72px;
    padding-bottom: 76px;
  }
}

.media-header {
  max-width: 790px;
}

.media-header h3 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.22;
}

.media-header h4 {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 18px;
}

.media-overview {
  max-width: 900px;
  margin-top: 38px;
  padding: 24px 28px;
  border-left: 3px solid var(--accent-light);
  background: var(--white);
}

@media (max-width: 480px) {
  .media-overview {
    padding: 20px;
  }
}

.media-overview p {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-size: 16px;
  line-height: 1.7;
}

.media-group {
  margin-top: 64px;
}

.media-group-secondary {
  margin-top: 72px;
}

.media-group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1b23291c;
}

@media (max-width: 600px) {
  .media-group-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

.media-group-heading h4 {
  margin: 0;
  color: var(--background-dark);
  font-family: "Libre Baskerville", serif;
  font-size: 24px;
  font-weight: 400;
}

.media-group-heading p {
  margin: 0;
  color: #657078;
  font-size: 13px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 950px) {
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
}

.media-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid #1b23291c;
}

.media-card > a,
.media-card > div {
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr;
  color: var(--background-dark);
}

.media-card > a {
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.media-card > a:hover {
  color: var(--background-dark);
  text-decoration: none;
  transform: translateY(-3px);
}

.media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid #1b23291c;
}

.media-card-content {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.media-category {
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.media-title {
  color: var(--background-dark);
  font-family: "Libre Baskerville", serif;
  font-size: 17px;
  line-height: 1.5;
}

.media-card > a:hover .media-title {
  text-decoration: underline;
  text-decoration-color: rgb(161 126 79 / 65%);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.media-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: #657078;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.media-meta cite {
  font-weight: 600;
}

.media-download {
  margin-left: auto;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ======================================= */

#blog {
  padding-top: 108px;
  padding-bottom: 112px;
  background: var(--white);
}

@media (max-width: 800px) {
  #blog {
    padding-top: 72px;
    padding-bottom: 76px;
  }
}

@media (max-width: 680px) {
  #blog {
    padding-top: 64px;
    padding-bottom: 68px;
  }
}

.blog-header {
  max-width: 790px;
}

.blog-header h3 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.22;
}

.blog-header h4 {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 18px;
}

@media (max-width: 680px) {
  .blog-header {
    margin: 0 auto;
    text-align: center;
  }

  .blog-header h3 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .blog-header h4 {
    margin-right: auto;
    margin-left: auto;
    font-size: 16px;
    line-height: 1.55;
  }
}

.blog-list {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 870px;
  margin: 46px auto 0;
  border-top: 1px solid #1b23291c;
}

.blog-entry {
  padding: 26px 0;
  border-bottom: 1px solid #1b23291c;
}

@media (max-width: 700px) {
  .blog-entry {
    padding: 24px 0;
  }
}

.blog-entry-link {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 36px);
  align-items: stretch;
  color: var(--background-dark);
}

@media (max-width: 650px) {
  .blog-entry-link {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .blog-entry-link {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.blog-entry-link:hover {
  color: var(--background-dark);
  text-decoration: none;
}

.blog-entry-link:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 5px;
}

.blog-entry-picture {
  display: block;
  width: 100%;
  height: calc(160px / 1.5);
  aspect-ratio: 3 / 2;
}

.blog-entry-image {
  display: block;
  width: 100%;
  height: calc(160px / 1.5);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (max-width: 650px) {
  .blog-entry-picture,
  .blog-entry-image {
    height: calc(128px / 1.5);
  }
}

@media (max-width: 560px) {
  .blog-entry-picture,
  .blog-entry-image {
    width: 128px;
  }
}

.blog-entry-content {
  display: flex;
  flex-direction: column;
  padding: 1px 0;
}

.blog-entry h4 {
  max-width: 680px;
  margin: 0;
  color: var(--background-dark);
  font-family: "Libre Baskerville", serif;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.38;
  text-decoration: underline;
  text-decoration-color: rgb(161 126 79 / 55%);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 160ms ease;
}

.blog-entry-link:hover h4 {
  color: var(--accent-dark);
}

.blog-entry p {
  max-width: 690px;
  margin: 13px 0 0;
  color: #4a5a67;
  font-size: 14px;
  line-height: 1.65;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-read-more span {
  font-size: 16px;
  line-height: 1;
  transition: transform 160ms ease;
}

.blog-entry-link:hover .blog-read-more span {
  transform: translateX(4px);
}

.blog-footer {
  display: flex;
  width: 100%;
  max-width: 960px;
  justify-content: flex-end;
  margin: 34px auto 0;
}

.blog-all-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: var(--background-dark);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 160ms ease;
}

.blog-all-link:hover {
  background: var(--accent-dark);
  color: var(--white);
  text-decoration: none;
}

.blog-all-link:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 4px;
}

.blog-all-link span {
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 680px) {
  .blog-list {
    margin-top: 36px;
  }

  .blog-footer {
    justify-content: center;
    margin-top: 30px;
  }
}

@media (max-width: 420px) {
  .blog-all-link {
    justify-content: center;
    width: 100%;
  }
}

/* ======================================= */

.blog-index-hero {
  padding: clamp(68px, 9vw, 112px) 0 clamp(58px, 7vw, 86px);
  background: var(--background-dark);
}

.blog-index-hero-wrapper {
  max-width: 960px;
}

.blog-index-hero .section-eyebrow {
  color: var(--accent-light);
}

.blog-index-hero h1 {
  margin: 12px 0 20px;
  color: var(--white);
  font-family: "Libre Baskerville", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.blog-index-hero > div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #d4d3cd;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

.blog-index-content {
  padding: clamp(56px, 8vw, 100px) 0 clamp(76px, 10vw, 124px);
  background: #f7f6f2;
}

.blog-index-wrapper {
  max-width: 960px;
}

.blog-index-list {
  max-width: none;
  margin-top: 0;
}

.blog-entry-date {
  margin: 0 0 9px !important;
  color: var(--accent-dark) !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.blog-index-list .blog-entry h2 {
  max-width: 680px;
  margin: 0;
  color: var(--background-dark);
  font-family: "Libre Baskerville", serif;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.38;
  text-decoration: underline;
  text-decoration-color: rgb(161 126 79 / 55%);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 160ms ease;
}

.blog-index-list .blog-entry-link:hover h2 {
  color: var(--accent-dark);
}

.blog-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 46px;
  color: #4a5a67;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-pagination a {
  color: var(--background-dark);
}

.blog-pagination a:last-child {
  text-align: right;
}

.blog-pagination-status {
  color: #4a5a67;
  white-space: nowrap;
}

.blog-index-empty {
  margin: 0;
  color: #4a5a67;
  font-size: 17px;
}

@media (max-width: 1248px) {
  .blog-index-hero-wrapper,
  .blog-index-wrapper {
    margin-right: 24px;
    margin-left: 24px;
  }
}

@media (max-width: 560px) {
  .blog-pagination {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .blog-pagination-status {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }

  .blog-pagination a:first-child {
    grid-column: 1;
    grid-row: 2;
  }

  .blog-pagination a:last-child {
    grid-column: 2;
    grid-row: 2;
  }
}

/* ======================================= */

#contact {
  padding-top: 128px;
  padding-bottom: 140px;
  background: var(--background-dark);
}

@media (max-width: 800px) {
  #contact {
    padding-top: 72px;
    padding-bottom: 76px;
  }
}

.contact-wrapper {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  align-items: stretch;
  gap: 32px clamp(32px, 5vw, 68px);
}

@media (max-width: 800px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.contact-intro {
  grid-column: 1 / -1;
  max-width: 780px;
  margin-bottom: 22px;
}

.contact-intro .section-eyebrow {
  color: var(--accent-light);
}

.contact-intro h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.2;
}

.contact-intro h4 {
  max-width: 560px;
  margin: 20px 0 0;
  color: #d4d3cd;
  font-size: 18px;
  line-height: 1.65;
}

.contact-card {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.32fr);
  background: #f4eddf;
  border: 1px solid rgb(230 227 221 / 18%);
  box-shadow: 0 20px 50px rgb(0 0 0 / 15%);
}

@media (max-width: 800px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
}

.contact-details {
  padding: clamp(34px, 4vw, 48px);
  background: #f4eddf;
  border-right: 1px solid #1b23291c;
}

@media (max-width: 800px) {
  .contact-details {
    padding: 34px;
    border-right: 0;
    border-bottom: 1px solid #1b23291c;
  }
}

.contact-name {
  margin: 0 0 22px;
  color: var(--background-dark);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.contact-methods {
  display: grid;
  justify-items: start;
  gap: 11px;
}

.contact-methods a {
  color: var(--background-dark);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgb(201 162 106 / 65%);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact-methods a:hover {
  color: var(--accent-dark);
}

.contact-address {
  display: grid;
  gap: 4px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid #1b23291c;
  color: var(--background-light);
  font-size: 18px;
  font-style: normal;
  line-height: 1.65;
}

.contact-form-panel {
  padding: clamp(34px, 4vw, 48px);
  background: #f4eddf;
}

@media (max-width: 800px) {
  .contact-form-panel {
    padding: 30px;
  }
}

.contact-form-intro {
  max-width: 680px;
  margin: 0 0 24px;
  color: var(--background-dark);
  font-family: "Libre Baskerville", serif;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
}

.contact-required-note {
  margin: 0 0 24px;
  color: #6f645b;
  font-size: 12px;
}

.contact-required-note span,
.contact-required {
  color: var(--accent-dark);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 34px;
}

@media (max-width: 650px) {
  .contact-form {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.contact-field {
  display: grid;
  gap: 9px;
}

.contact-field-message {
  grid-column: 1 / -1;
}

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

.contact-form-status {
  grid-column: 1 / -1;
  min-height: 1.5em;
  margin: 0;
  color: var(--background-dark);
  font-size: 14px;
}

.contact-form-status:empty {
  display: none;
}

.contact-form-status[data-state="success"] {
  color: #246b3c;
}

.contact-form-status[data-state="error"] {
  color: #9c2f27;
}

.contact-field label {
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.contact-required {
  margin-left: 0.2em;
  font-size: 1.2em;
  line-height: 0;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid #1b232933;
  border-radius: 0;
  outline: 0;
  background: var(--white);
  color: var(--background-dark);
  font: inherit;
  font-size: 16px;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}

.contact-field input {
  min-height: 52px;
  padding: 11px 14px;
}

.contact-field textarea {
  min-height: 170px;
  padding: 14px;
  line-height: 1.6;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--accent-dark);
  background: var(--white);
}

.contact-form-action {
  display: flex;
  grid-column: 1 / -1;
  justify-content: flex-end;
  margin-top: 4px;
}

@media (max-width: 650px) {
  .contact-form-action {
    justify-content: flex-start;
  }
}

.contact-form-action button {
  padding: 14px 22px;
  border: 0;
  border-radius: 0;
  background: var(--background-dark);
  color: var(--white);
  cursor: pointer;
  font-family: "Open Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: background-color 160ms ease;
}

.contact-form-action button:hover,
.contact-form-action button:focus-visible {
  background: var(--accent-dark);
  color: var(--white);
}

.contact-form-action button:disabled {
  cursor: wait;
  opacity: 0.65;
}

/* ======================================= */

.blog-page {
  min-height: 100vh;
  background: #f7f6f2;
}

.article-header {
  position: relative;
}

.article-page {
  color: var(--background-dark);
}

.article-hero {
  padding-top: clamp(68px, 9vw, 112px);
  padding-bottom: clamp(58px, 7vw, 86px);
  background: var(--background-dark);
}

.article-hero-wrapper {
  max-width: 960px;
}

.article-back-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 48px;
  color: #d4d3cd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-back-link:hover {
  color: var(--accent-light);
  text-decoration: none;
}

.article-hero .section-eyebrow {
  color: var(--accent-light);
}

.article-hero h1 {
  max-width: 900px;
  margin: 12px 0 22px;
  color: var(--white);
  font-family: "Libre Baskerville", serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
  text-wrap: balance;
}

.article-meta {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  color: #bfc3c4;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-meta span {
  color: var(--accent-light);
}

.article-layout {
  max-width: 960px;
  padding-top: clamp(32px, 4.5vw, 52px);
  padding-bottom: clamp(76px, 9vw, 116px);
}

@media (max-width: 1248px) {
  .article-hero-wrapper,
  .article-layout,
  .article-footer-wrapper {
    margin-right: 24px;
    margin-left: 24px;
  }
}

.article-feature-image {
  margin: 0 0 clamp(42px, 6vw, 66px);
  background: #e6e3dd;
  box-shadow: 12px 12px 0 rgb(201 162 106 / 36%);
}

.article-feature-picture {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.article-feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 540px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--background-dark);
  font-size: 17px;
  line-height: 1.68;
}

.article-content > :first-child {
  margin-top: 0;
}

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

.article-summary {
  margin: 0 0 38px;
  padding: 0 0 30px;
  border-bottom: 1px solid rgb(27 35 41 / 16%);
}

.article-summary p {
  margin: 0;
  color: #4a5a67;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.6;
}

.article-summary p + p {
  margin-top: 14px;
}

.article-content p,
.article-content li {
  color: #34434e;
  font-size: 17px;
  line-height: 1.68;
}

.article-content p {
  margin: 0 0 25px;
}

.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  margin: 46px 0 16px;
  color: var(--background-dark);
  font-family: "Libre Baskerville", serif;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.5;
}

.article-content h2 {
  font-size: clamp(23px, 1.8vw, 28px);
}

.article-content h2::after {
  display: block;
  width: 38px;
  height: 2px;
  margin-top: 14px;
  content: "";
  background: var(--accent-light);
}

.article-content h3 {
  font-size: clamp(20px, 1.45vw, 23px);
}

.article-content h4,
.article-content h5,
.article-content h6 {
  color: var(--accent-dark);
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.article-content ul,
.article-content ol {
  margin: 0 0 28px;
  padding-left: 24px;
}

.article-content li + li {
  margin-top: 9px;
}

.article-content blockquote {
  margin: 38px 0;
  padding: 4px 0 4px 28px;
  border-left: 3px solid var(--accent-light);
}

.article-content blockquote p {
  color: var(--background-dark);
  font-family: "Libre Baskerville", serif;
  font-size: 20px;
  line-height: 1.65;
}

.article-content a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.article-content img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 26px auto;
}

.article-contact-cta {
  max-width: 860px;
  margin: clamp(64px, 9vw, 96px) auto 0;
  padding: clamp(34px, 5vw, 54px);
  background: var(--background-dark);
  border-top: 3px solid var(--accent-light);
  box-shadow: 0 20px 50px rgb(0 0 0 / 12%);
}

.article-contact-cta .section-eyebrow {
  color: var(--accent-light);
}

.article-contact-cta h2 {
  max-width: 680px;
  margin: 10px 0 17px;
  color: var(--white);
  font-family: "Libre Baskerville", serif;
  font-size: clamp(27px, 4vw, 39px);
  font-weight: 500;
  line-height: 1.3;
  text-wrap: balance;
}

.article-contact-cta > p:not(.section-eyebrow) {
  max-width: 650px;
  margin: 0;
  color: #d4d3cd;
  font-size: 16px;
}

.article-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  align-items: center;
  margin-top: 30px;
}

.article-contact-button {
  display: inline-flex;
  padding: 14px 22px;
  background: var(--accent-light);
  color: var(--background-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-contact-button:hover {
  background: var(--white);
  color: var(--background-dark);
  text-decoration: none;
}

.article-email-link {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgb(201 162 106 / 65%);
  text-underline-offset: 5px;
}

.article-email-link:hover {
  color: var(--accent-light);
}

.article-footer {
  padding: 28px 0;
  background: #11171b;
  color: #aeb4b6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-footer-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 960px;
}

@media (max-width: 600px) {
  .article-hero {
    padding-top: 52px;
  }

  .article-back-link {
    margin-bottom: 36px;
  }

  .article-summary {
    margin-bottom: 32px;
    padding-bottom: 26px;
  }

  .article-content h2,
  .article-content h3,
  .article-content h4,
  .article-content h5,
  .article-content h6 {
    margin-top: 38px;
  }
}
