:root {
  --orange: #e95111;
  --orange-2: #e7830e;
  --dark: #353535;
  --ink: #302f2f;
  --text: #333333;
  --line: #e5e5e5;
  --gray: #f3f3f3;
  --header: 78px;
  --font: "Catamaran", Arial, Verdana, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font: 400 17px/1.55 var(--font);
  color: var(--text);
  background: #fff;
}

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

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

a:hover {
  color: var(--orange-2);
}

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

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--dark);
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.shell {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 300;
}

h1 {
  margin: 0 0 16px;
  color: #fff;
  font: 200 clamp(2rem, 5vw, 3.15rem) / 1.05 var(--font);
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.55);
}

h2 {
  margin: 18px 0 10px;
  font-size: clamp(1.7rem, 3vw, 2rem);
  line-height: 1.2;
}

h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 600;
}

p {
  margin: 0 0 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  min-height: var(--header);
  padding: 0 16px 0 108px;
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
}

.brand {
  position: absolute;
  top: 0;
  left: 16px;
  line-height: 0;
}

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

.site-nav {
  display: none;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 400 14px/1 var(--font);
  cursor: pointer;
}

.nav-toggle__bars {
  width: 22px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  color: #fff;
  background: #1b1b1b;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 30%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 22, 0.48);
}

.hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(760px, calc(100% - 32px));
  padding: 88px 0 48px;
  text-align: center;
}

.hero__copy p {
  max-width: 42rem;
  margin-bottom: 22px;
  color: #fff;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.45;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.55);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  background: var(--dark);
  color: #fff;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.btn:hover {
  background: var(--orange);
  color: #fff;
}

.bars {
  display: grid;
  gap: 8px;
  width: min(1140px, calc(100% - 32px));
  margin: 18px auto 8px;
  scroll-margin-top: calc(var(--header) + 12px);
}

.bars a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 78px;
  padding: 12px 16px;
  background: var(--dark);
  color: #fff;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.bars span {
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.bars strong {
  color: var(--orange);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  letter-spacing: 0.03em;
}

.bars a:hover {
  background: #2b2b2b;
  color: #fff;
}

.bars a:hover strong {
  color: #fff;
}

.block {
  padding: 36px 0 20px;
  scroll-margin-top: calc(var(--header) + 8px);
}

.block--gray {
  background: var(--gray);
}

.block .shell > img,
.split > img {
  width: 100%;
}

.block ul,
.ticks {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.block ul li,
.ticks li {
  padding: 8px 0 8px 16px;
  border-top: 1px solid var(--line);
  position: relative;
}

.block ul li::before,
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 7px;
  height: 7px;
  background: var(--orange);
}

.split {
  display: grid;
  gap: 22px;
  align-items: center;
}

.steps {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 10px 0 10px 36px;
  border-top: 1px solid #ddd;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--orange);
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

blockquote {
  margin: 8px 0 22px;
  padding: 0;
  border: 0;
  font: 300 clamp(1.35rem, 2.5vw, 1.85rem) / 1.35 var(--font);
  color: var(--ink);
}

.principles {
  display: grid;
  gap: 16px;
}

.principles article {
  background: #fff;
  padding: 16px 16px 8px;
  border-top: 4px solid var(--orange);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 8px 0 4px;
}

.filters button {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--ink);
  font: 600 0.95rem/1 var(--font);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.filters button[aria-pressed="true"] {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.case-count {
  color: #777;
  font-size: 0.92rem;
}

.cases {
  display: grid;
  gap: 18px;
  margin-top: 12px;
}

.case {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.case summary {
  display: grid;
  gap: 2px 12px;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 12px 0 14px;
  cursor: pointer;
  list-style: none;
}

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

.case summary img {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 555 / 300;
  object-fit: cover;
  object-position: center 20%;
  margin-bottom: 8px;
}

.case summary::after {
  content: "+";
  grid-column: 2;
  grid-row: 2 / span 3;
  align-self: center;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--ink);
}

.case[open] summary::after {
  content: "–";
}

.case__tag {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case__title {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
}

.case__line {
  color: #666;
}

.case p {
  margin: 0 0 16px;
  max-width: 42rem;
}

.contact {
  background: var(--dark);
  color: #fff;
  padding: 40px 0;
  scroll-margin-top: calc(var(--header) + 8px);
}

.contact h2,
.contact p {
  color: #fff;
}

.contact__grid {
  display: grid;
  gap: 22px;
}

.contact address {
  font-style: normal;
  display: grid;
  gap: 14px;
}

.contact address span {
  display: block;
  color: var(--orange-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact a {
  color: #fff;
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
}

.contact a:hover {
  color: var(--orange-2);
}

.site-footer {
  background: #2b2b2b;
  color: #ddd;
  padding: 22px 0 28px;
}

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.footer__bar img {
  width: 46px;
  height: auto;
}

.footer__bar p {
  margin: 0 auto 0 0;
}

.footer__bar a {
  color: #fff;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 859px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    padding: 6px 16px 12px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
  }
}

@media (min-width: 720px) {
  .cases {
    grid-template-columns: 1fr 1fr;
  }

  .case:nth-child(n + 3) {
    grid-column: auto;
  }

  .principles {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .site-nav {
    display: flex;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .contact__grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

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