:root {
  --ink: #1c1e1e;
  --paper: #f5f3ef;
  --slate: #1c1e1e;
  --muted: #646866;
  --line: #ddd8d0;
  --accent: #e02921;
  --blue: #343837;
  --steel: #526368;
  --taupe: #89776b;
  --concrete: #b9b7b1;
  --warm-paper: #ddd8d0;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.12em;
}

.button .icon,
.service .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.text-link .icon {
  width: .9rem;
  height: .9rem;
}

.site-footer a .icon {
  margin-left: .2rem;
}

.site-header {
  position: relative;
  background: #ffffff;
  color: var(--ink);
  border-bottom-color: var(--line);
}

.brand img,
.site-footer img {
  filter: none;
}

.nav-cta {
  border-color: var(--ink);
  transition: background .25s, color .25s, opacity .25s;
}

.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  opacity: 1;
}

.menu-toggle {
  border-color: var(--ink);
  color: var(--ink);
}

.hero {
  background: var(--slate);
}

.hero-media::after {
  background: linear-gradient(90deg, rgba(23, 23, 23, .25), transparent 36%);
}

.section-marker::first-letter {
  color: inherit;
}

.section-index,
.quote-mark {
  color: var(--accent);
}

.section-index {
  display: inline-block;
  min-width: 2.3em;
}

.principles span:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.visual-one {
  background: var(--steel);
}

.visual-two {
  background: var(--taupe);
}

.visual-three {
  background: #343837;
}

.project-card:hover,
.project-card:focus {
  box-shadow: 0 24px 50px rgba(0, 0, 0, .16);
}

.additional-experience {
  margin-top: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
}

.additional-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 2.25rem 0 3rem;
}

.additional-heading .eyebrow {
  color: var(--ink);
  margin: 0;
}

.additional-heading > p:last-child {
  color: var(--muted);
  margin: 0;
  max-width: 560px;
}

.experience-row {
  border-top: 1px solid var(--line);
}

.experience-row article {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}

.experience-number {
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .1em;
  transition: color .25s;
}

.experience-row article:hover .experience-number {
  color: var(--accent);
}

.service > span,
.challenge summary > span,
.timeline li > span {
  transition: color .25s;
}

.service:hover > span,
.service:hover .service-number,
.service[open] .service-number,
.challenge:hover summary > span,
.challenge[open] summary > span,
.timeline li.active > span {
  color: var(--accent);
}

.experience-row h3 {
  font: 500 clamp(1.45rem, 2.5vw, 2.35rem) "Manrope", sans-serif;
  letter-spacing: -.025em;
  margin: .5rem 0 .8rem;
}

.experience-row article > div:last-child > p:not(.project-type) {
  color: var(--muted);
  max-width: 800px;
  margin: 0;
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}

.experience-tags span {
  border: 1px solid var(--line);
  padding: .4rem .65rem;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.experience-row .attribution {
  margin-top: 1rem;
}

.challenges {
  background: #151515;
}

.section-marker.light,
.challenge-stack,
.challenge {
  border-color: #464646;
}

.challenge summary > span,
.challenge-detail small {
  color: #a0a0a0;
}

.challenge summary b {
  color: var(--accent);
}

.secondary-quote {
  background: var(--warm-paper);
}

.contact {
  background: var(--accent);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.contact > :not(.contact-watermark) {
  position: relative;
  z-index: 1;
}

.contact-watermark {
  position: absolute;
  z-index: 0;
  right: 1%;
  bottom: -12%;
  width: min(38vw, 520px);
  height: auto;
  opacity: .11;
  pointer-events: none;
  user-select: none;
}

.contact .eyebrow {
  color: rgba(255, 255, 255, .78);
}

.button-light {
  border-color: rgba(255, 255, 255, .75);
}

.button-light:hover {
  background: #ffffff;
  color: var(--accent);
}

.site-footer {
  background: #ffffff;
  color: #4f4f4f;
  border-top: 1px solid var(--line);
}

.service {
  display: block;
  padding: 0;
}

.service summary {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr) 40px;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  list-style: none;
  cursor: pointer;
}

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

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

.service-number {
  color: var(--muted);
  font-size: .875rem;
  transition: color .25s;
}

.service[open] .service-arrow {
  transform: rotate(-45deg);
  color: var(--accent);
}

.service-detail {
  padding: 0 40px 2rem 102px;
}

.service-detail p {
  max-width: 780px;
  line-height: 1.7;
}

.site-footer {
  grid-template-columns: 1fr 1.5fr 1fr;
}

.footer-copy p {
  margin: .35rem 0;
}

.footer-copy .service-area {
  font-size: .875rem;
}

@media (max-width: 700px) {
  .service summary {
    grid-template-columns: 40px minmax(0, 1fr) 26px;
    gap: 1rem;
  }

  .service summary > p {
    grid-column: 2 / -1;
  }

  .service-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .service-detail {
    padding: 0 0 2rem 56px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  nav {
    background: #ffffff;
    color: var(--ink);
    border-top: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(0, 0, 0, .08);
  }

  .contact-watermark {
    right: -24%;
    bottom: -10%;
    width: 92vw;
    opacity: .09;
  }

  .additional-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .experience-row article {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 1rem;
  }
}
