:root {
  --paper: #f7f3eb;
  --ink: #171717;
  --muted: #62605a;
  --line: #d8d0c2;
  --navy: #111d36;
  --sumi: #23231f;
  --cinnabar: #a83b2d;
  --shadow: rgba(17, 29, 54, 0.16);
  --font-main: "Raleway", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(168, 59, 45, 0.08) 0 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.72;
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
  gap: 72px;
  padding: 58px 0 70px;
  position: relative;
}

.hero__mark {
  position: absolute;
  top: 54px;
  left: 0;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cinnabar);
  color: var(--cinnabar);
}

.hero__mark span {
  font-size: 17px;
  font-weight: 500;
}

.hero__content {
  padding-top: 58px;
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cinnabar);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--sumi);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1.02;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.04;
}

.lede {
  max-width: 620px;
  margin: 34px 0 0;
  color: var(--navy);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 400;
  line-height: 1.16;
}

.intro {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.portrait {
  margin: 0;
  position: relative;
  align-self: stretch;
  min-height: 620px;
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--line);
  z-index: -1;
}

.portrait img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  display: block;
  object-fit: cover;
  object-position: 56% 35%;
  filter: saturate(0.92) contrast(1.03);
  box-shadow: 0 28px 70px var(--shadow);
}

.statement {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}

.statement p {
  width: min(900px, 100%);
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 400;
  line-height: 1.16;
}

.grid-section {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 72px;
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.section-label {
  display: flex;
  gap: 18px;
  align-items: baseline;
}

.section-label span {
  color: var(--cinnabar);
  font-size: 13px;
  font-weight: 700;
}

.section-label h2 {
  font-size: 23px;
  font-weight: 500;
}

.section-body {
  max-width: 820px;
}

.section-body p {
  margin: 0 0 22px;
  color: #282723;
}

.case-name {
  color: var(--navy);
}

.perspective {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 72px;
  margin: 88px 0;
  padding: 60px;
  background: var(--navy);
  color: #f8f4eb;
  position: relative;
}

.perspective::after {
  content: "";
  position: absolute;
  right: 34px;
  top: 34px;
  bottom: 34px;
  width: 1px;
  background: rgba(247, 243, 235, 0.35);
}

.perspective .eyebrow {
  color: #e6a393;
}

.perspective h2,
.perspective p {
  color: #f8f4eb;
}

.perspective > p {
  margin: 0;
  font-size: 19px;
}

.courtroom {
  margin: 84px 0 62px;
}

.courtroom picture,
.courtroom img {
  display: block;
}

.courtroom img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: 50% 52%;
  border: 1px solid var(--line);
  filter: saturate(0.82) contrast(0.98) brightness(0.94);
}

.courtroom figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 28px 72px;
  align-items: start;
  padding: 34px 0 80px;
}

.contact__links {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: flex-start;
}

.contact__title {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

a {
  color: var(--navy);
  text-decoration-color: rgba(168, 59, 45, 0.55);
  text-underline-offset: 5px;
}

a:hover,
a:focus-visible {
  color: var(--cinnabar);
}

footer {
  padding: 28px 0 54px;
  border-top: 1px solid var(--line);
}

footer p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

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

@media (max-width: 860px) {
  main {
    width: min(100% - 30px, 680px);
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 42px 0 54px;
  }

  .hero__mark {
    top: 28px;
  }

  .hero__content {
    padding-top: 76px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .portrait {
    min-height: 440px;
    max-height: 620px;
  }

  .portrait img {
    min-height: 440px;
  }

  .grid-section,
  .perspective,
  .contact {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .grid-section {
    padding: 54px 0;
  }

  .perspective {
    margin: 58px 0;
    padding: 34px 28px;
  }

  .perspective::after {
    display: none;
  }

  .courtroom {
    margin: 58px 0 42px;
  }

  .contact__links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  main {
    width: min(100% - 28px, 680px);
  }

  .eyebrow {
    letter-spacing: 0.13em;
  }

  .lede {
    font-size: 30px;
  }

  .statement p {
    font-size: 27px;
  }

  .portrait::before {
    inset: 14px -10px -14px 10px;
  }

  .contact__links {
    flex-direction: column;
  }
}
