/* CohenMoore */

:root {
  --black: #141518;
  --gray-90: #2b2d31;
  --gray-60: #5c6066;
  --gray-30: #c9ccd1;
  --gray-10: #f2f3f4;
  --red: #a6192e;
  --red-dark: #86141f;
  --white: #ffffff;
  --sans: "Helvetica Neue", Helvetica, Arial, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-90);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 { color: var(--black); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 4.5vw, 54px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 20px; }

p { max-width: 74ch; }
p + p { margin-top: 1em; }

/* Utility bar */

.utility {
  background: var(--black);
  color: #cfd2d6;
  font-size: 13px;
}
.utility .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
}
.utility a { color: #cfd2d6; }
.utility a:hover { color: #fff; }
.utility ul { display: flex; gap: 22px; list-style: none; }
@media (max-width: 700px) { .utility .util-left { display: none; } }

/* Header */

.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-30);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1;
}
.brand:hover { text-decoration: none; }

.brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--black);
}
.brand__name span { color: var(--red); }

.brand__tag {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.44em;
  color: var(--gray-60);
  padding-left: 2px;
}

.nav ul { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav a { font-size: 15px; font-weight: 500; color: var(--gray-90); }
.nav a:hover { color: var(--red); text-decoration: none; }
.nav .nav-cta {
  display: inline-block;
  white-space: nowrap;
  background: var(--red);
  color: #fff;
  padding: 10px 20px;
  font-weight: 600;
}
.nav .nav-cta:hover { background: var(--red-dark); }

@media (max-width: 860px) {
  .nav ul li { display: none; }
  .nav ul li:last-child { display: block; }
}

@media (max-width: 480px) {
  .header .container { gap: 12px; }
  .brand__name { font-size: 21px; }
  .brand__tag { font-size: 8px; letter-spacing: 0.32em; }
  .nav .nav-cta { padding: 9px 14px; font-size: 14px; }
  .utility { font-size: 12px; }
  .utility ul { gap: 14px; }
}

@media (max-width: 380px) {
  .utility ul li:last-child { display: none; }
}

/* Hero */

.hero {
  background: linear-gradient(rgba(15, 16, 19, 0.62), rgba(15, 16, 19, 0.62)), url("../images/hero.jpg") center / cover no-repeat, var(--gray-90);
  color: #fff;
  padding: 110px 0 120px;
}
.hero h1 { color: #fff; max-width: 20ch; }
.hero p { margin-top: 18px; font-size: 19px; color: rgba(255, 255, 255, 0.88); max-width: 60ch; }
.hero .actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */

.button {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  background: var(--red);
  color: #fff;
  border: none;
  cursor: pointer;
}
.button:hover { background: var(--red-dark); text-decoration: none; }

.button--light { background: #fff; color: var(--black); }
.button--light:hover { background: var(--gray-10); }

/* Section scaffold */

.section { padding: 76px 0; }
.section--gray { background: var(--gray-10); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head .view-all { font-size: 15px; font-weight: 600; white-space: nowrap; }

/* Insight cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--gray-30);
  display: flex;
  flex-direction: column;
}
.card__image {
  aspect-ratio: 16 / 9;
  background: var(--gray-30);
  overflow: hidden;
}
.card__image img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
}
.card__body h3 { font-size: 19px; line-height: 1.3; }
.card__body h3 a { color: var(--black); }
.card__body h3 a:hover { color: var(--red); text-decoration: none; }
.card__date { margin-top: auto; font-size: 13px; color: var(--gray-60); }

/* Practice panels */

.panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 820px) { .panels { grid-template-columns: 1fr; } }

.panel { background: var(--white); border: 1px solid var(--gray-30); }
.panel__image {
  aspect-ratio: 21 / 9;
  background: var(--gray-30);
  overflow: hidden;
}
.panel__image img { width: 100%; height: 100%; object-fit: cover; }
.panel__body { padding: 28px 30px 32px; }
.panel__body h3 { font-size: 24px; }
.panel__body p { margin-top: 12px; font-size: 15.5px; color: var(--gray-60); }
.panel__body .more { display: inline-block; margin-top: 16px; font-size: 15px; font-weight: 600; }

/* About split */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid h2 { margin-bottom: 20px; }
.about-aside {
  border-left: 4px solid var(--red);
  padding-left: 24px;
  font-size: 17px;
  color: var(--gray-60);
}
.about-aside strong { color: var(--black); display: block; margin-bottom: 6px; }
.about-aside .item + .item { margin-top: 20px; }

/* People — photo, name, title, email, rule, location + phone */

.people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 6vw, 80px);
  max-width: 900px;
}
@media (max-width: 700px) { .people { grid-template-columns: 1fr; max-width: 420px; } }

.person__photo {
  aspect-ratio: 1 / 0.96;
  background: var(--gray-30);
  overflow: hidden;
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 22px; line-height: 1.15; }
.person h3 a { color: var(--black); }
.person h3 a:hover { color: var(--red); text-decoration: none; }
.person__title { font-size: 18px; font-weight: 700; color: var(--black); margin-top: 10px; }
.person__email { display: inline-block; margin-top: 10px; font-size: 16px; }
.person__rule { width: 170px; height: 5px; background: var(--red); margin-top: 18px; }
.person__meta { margin-top: 18px; display: grid; gap: 10px; font-size: 16px; }
.person__meta div { display: flex; align-items: center; gap: 12px; }
.person__meta svg { width: 18px; height: 18px; flex: none; fill: var(--red); }

.person__creds { margin-top: 24px; }
.person__creds h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-60); margin: 18px 0 8px; }
.person__creds ul { list-style: none; display: grid; gap: 6px; font-size: 15px; }
.person__creds li { padding-left: 16px; position: relative; }
.person__creds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* Article pages */

.article-header { background: var(--gray-10); border-bottom: 1px solid var(--gray-30); padding: 48px 0; }
.article-header .breadcrumb { font-size: 13px; color: var(--gray-60); margin-bottom: 12px; }
.article-header .breadcrumb a { color: var(--gray-60); }
.article-header .card__tag { display: block; margin-bottom: 10px; }
.article-header h1 { font-size: clamp(30px, 3.8vw, 44px); max-width: 26ch; }
.article-header .byline { margin-top: 16px; font-size: 15px; color: var(--gray-60); }
.article-header .byline strong { color: var(--black); }

.article-hero { max-width: 860px; margin: 44px auto 0; padding: 0 28px; }
.article-hero img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

.article-body { max-width: 860px; margin: 0 auto; padding: 40px 28px 72px; font-size: 17px; line-height: 1.75; }
.article-body h2 { font-size: 24px; margin: 36px 0 12px; }
.article-body p { max-width: none; }
.article-body ul, .article-body ol { margin: 14px 0 14px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body .article-note {
  margin-top: 40px;
  padding: 18px 22px;
  background: var(--gray-10);
  border-left: 4px solid var(--red);
  font-size: 14px;
  color: var(--gray-60);
}

.article-author {
  max-width: 860px;
  margin: 0 auto 72px;
  padding: 0 28px;
}
.article-author .box {
  display: flex;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--gray-30);
  padding: 22px;
}
.article-author img { width: 88px; height: 88px; object-fit: cover; border-radius: 50%; flex: none; }
.article-author .name { font-weight: 700; color: var(--black); font-size: 17px; }
.article-author p { font-size: 14.5px; color: var(--gray-60); margin-top: 4px; }

/* Page header (detail pages) */

.page-header { background: var(--gray-10); border-bottom: 1px solid var(--gray-30); padding: 52px 0; }
.page-header .breadcrumb { font-size: 13px; color: var(--gray-60); margin-bottom: 12px; }
.page-header .breadcrumb a { color: var(--gray-60); }
.page-header p { margin-top: 16px; font-size: 18px; color: var(--gray-60); max-width: 68ch; }

/* Service lists */

.service-section h2 { margin-bottom: 14px; }
.service-section > .container > p { margin-bottom: 22px; color: var(--gray-60); }

.service-list {
  list-style: none;
  columns: 2;
  column-gap: 56px;
  max-width: 960px;
}
@media (max-width: 700px) { .service-list { columns: 1; } }
.service-list li {
  break-inside: avoid;
  padding: 11px 0 11px 20px;
  position: relative;
  border-bottom: 1px solid var(--gray-30);
  font-size: 15.5px;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 3px;
  background: var(--red);
}

/* Contact */

.contact-cols {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
}
@media (max-width: 820px) { .contact-cols { grid-template-columns: 1fr; } }

.contact-details { font-size: 16px; }
.contact-details h4 { font-size: 13px; text-transform: uppercase; color: var(--gray-60); margin-bottom: 4px; letter-spacing: 0.04em; }
.contact-details .item + .item { margin-top: 22px; }

.contact-form { display: grid; gap: 16px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .contact-form .row { grid-template-columns: 1fr; } }

.contact-form label { font-size: 13.5px; font-weight: 600; display: block; margin-bottom: 5px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15.5px;
  padding: 12px;
  border: 1px solid var(--gray-30);
  background: #fff;
  color: var(--gray-90);
}
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--black); outline-offset: -1px; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--gray-60); max-width: 62ch; }

/* CTA band */

.cta-band { background: var(--red); color: #fff; padding: 48px 0; }
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: 26px; max-width: 30ch; }

/* Footer */

.footer { background: var(--black); color: #b6bac0; font-size: 14px; padding: 56px 0 36px; }

.footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
@media (max-width: 820px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr; } }

.footer__brand { display: inline-flex; flex-direction: column; gap: 5px; line-height: 1; }
.footer__brand .brand__name { font-size: 23px; color: #fff; }
.footer__brand .brand__name span { color: #e05a6b; }
.footer__brand .brand__tag { color: #8d9298; }
.footer address { font-style: normal; margin-top: 14px; line-height: 1.7; }

.footer h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a { color: #b6bac0; }
.footer a:hover { color: #fff; }

.footer__bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; }
.footer__bottom ul { display: flex; gap: 20px; list-style: none; }

.footer__disclaimer { margin-top: 18px; font-size: 12px; line-height: 1.7; color: #8d9298; }
.footer__disclaimer p { max-width: 110ch; }
